joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1002a050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10003b9a
cmp byte [esi + 0x3d], 0
je 0x10003b9a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10003b88
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10003b50
sub eax, 1
je 0x10003b54
sub eax, 2
jne 0x10003b88
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100053d5
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10003b71
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1000a5ab
add esp, 0x10
cmp edi, eax
jne 0x10003b88
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100053d5
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100053d5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100053d5
mov esp, ebp
pop ebp
ret

Function at 0x1000dc39
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1000daaf
Function at 0x409950
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5324cc
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x58a464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
lea edi, [esi + 8]
mov dword [esi], vtable.CCurlDownloader.0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x24], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4099ad
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
lea edi, [esi + 0x30]
mov byte [ebp - 4], 2
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x4099cc
mov eax, dword [edi]
jmp 0x4099ce
mov eax, edi
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x4099ef
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4099e0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004065f0
lea ebx, [esi + 0x48]
mov byte [ebp - 4], 3
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 8
jb 0x409a17
mov eax, dword [ebx]
jmp 0x409a19
mov eax, ebx
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x409a40
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409a30
sub ecx, dword [ebp + 8]
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.004065f0
mov byte [ebp - 4], 4
cmp dword [edi + 0x14], 8
jb 0x409a55
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x409a5d
mov ebx, dword [ebx]
push dword [ebp - 0x10]
push ecx
push edi
push ebx
lea ecx, [esi + 0x60]
call fcn.0041aa70
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
mov ebx, dword [ebp - 0x10]
lea ecx, [esi + 0x60]
push 1
push eax
mov dword [ebx + 0xf0], 0
mov byte [ebx + 0xf4], 0
call fcn.0041ad30
cmp dword [eax + 0x14], 8
jb 0x409a99
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x409ab5
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00406d50
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409af0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5324ff
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x58a464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0xf0]
test esi, esi
je 0x409b6b
cmp dword [esi + 4], 0
je 0x409b4f
mov eax, dword [esi + 4]
test eax, eax
je 0x409b4f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi], 0xffffffff
mov esi, dword [edi + 0xf0]
test esi, esi
je 0x409b6b
mov ecx, esi
call fcn.00449f00
push 0x50
push esi
call fcn.004f04b6
add esp, 8
push 0x50
call fcn.004f04c4
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004ad5f0
sub esp, 0x18
mov ecx, 0x409be0
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x409bad
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____cdecl___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x409be0
mov dword [eax + 0x24], eax
push str.ABDEF
push edi
mov ecx, esi
call fcn.00449cb0
mov dword [edi + 0xf0], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x409bce
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40a270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53260a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x58a464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.004edacd
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x40a330
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.004acc0e
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x58695c
push eax
call fcn.004adb20
push edi
push esi
call fcn.004ede2d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f0482
mov esp, ebp
pop ebp
ret 4
Function at 0x40cae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532716
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x58a464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004f04c4
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004edd2a
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e160
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532aeb
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x58a464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov dword [esi], vtable.CMTCurlDownloader.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea edi, [esi + 0x10]
mov dword [ebp - 0x30], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 2
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x40e1e1
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 3
mov dword [esi + 0x4c], 7
mov dword [esi + 0x48], 0
cmp dword [esi + 0x4c], 8
jb 0x40e1fe
mov eax, dword [esi + 0x38]
jmp 0x40e201
lea eax, [esi + 0x38]
xor ecx, ecx
mov word [eax], cx
cmp word [ebx], cx
je 0x40e21f
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e210
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esi + 0x38]
call fcn.004065f0
mov byte [ebp - 4], 4
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], 0
cmp dword [esi + 0x64], 8
jb 0x40e246
mov eax, dword [esi + 0x50]
jmp 0x40e249
lea eax, [esi + 0x50]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x2c]
cmp word [eax], cx
je 0x40e272
mov ecx, eax
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e260
mov eax, dword [ebp - 0x2c]
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x50]
call fcn.004065f0
lea eax, [esi + 0x68]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x40e295
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0x84]
mov dword [esi + 0x80], 0xffffffff
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x40e2be
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0xac]
mov dword [esi + 0xa8], 0
xorps xmm0, xmm0
push 2
push eax
movsd qword [esi + 0xa0], xmm0
call fcn.004eea1c
add esp, 8
mov byte [ebp - 4], 8
xorps xmm0, xmm0
mov dword [esi + 0xec], 0
movsd qword [esi + 0xa0], xmm0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0x80], 0xffffffff
mov byte [esi + 0xe8], 0
cmp dword [esi + 0x4c], 8
jb 0x40e33a
mov eax, dword [esi + 0x38]
jmp 0x40e33d
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea edx, [esi + 0x38]
lea ecx, [ebp - 0x28]
call fcn.00448060
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.004107f0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x40e375
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00406db0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f0482
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e3a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5324ff
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x58a464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0xec]
test esi, esi
je 0x40e41b
cmp dword [esi + 4], 0
je 0x40e3ff
mov eax, dword [esi + 4]
test eax, eax
je 0x40e3ff
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi], 0xffffffff
mov esi, dword [edi + 0xec]
test esi, esi
je 0x40e41b
mov ecx, esi
call fcn.00449f00
push 0x50
push esi
call fcn.004f04b6
add esp, 8
push 0x50
call fcn.004f04c4
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004ad5f0
sub esp, 0x18
mov ecx, 0x40e490
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x40e45d
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____cdecl___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x40e490
mov dword [eax + 0x24], eax
push str.ABDEF
push edi
mov ecx, esi
call fcn.00449cb0
mov dword [edi + 0xec], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x40e47e
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4107f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, ecx
xor esi, esi
push esi
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.0040e0a0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x41081d
mov eax, dword [eax]
push eax
call edi
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x410838
inc eax
lea ecx, [esp + 0x10]
push eax
push dword [esp + 0x14]
call fcn.00406db0
inc esi
cmp esi, 2
jne 0x410806
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412130
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532fb5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x58a464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.00412240
mov ebx, eax
lea esi, [edi + 0x28]
cmp esi, ebx
je 0x4121a6
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x41217f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00406d50
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x412197
mov eax, dword [esi]
jmp 0x412199
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.004093c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4121c2
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00406d50
push 0x50
call fcn.004f04c4
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 1
call fcn.004ad5f0
sub esp, 0x18
mov ecx, 0x4135b0
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x412204
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____stdcall___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x4135b0
mov dword [eax + 0x24], eax
push str.UnInstaller
push edi
mov ecx, esi
call fcn.00449cb0
mov dword [edi + 0x74], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x412222
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532716
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x58a464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004f04c4
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004edd2a
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x415400
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53333e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x58a464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x10]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x41544c
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
call dword [eax]
mov dword [ebp - 0x14], eax
push edi
lea ecx, [ebp - 0x38]
call fcn.00415730
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x415474
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x415485
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4177f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533805
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x58a464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.00417950
mov ebx, eax
lea esi, [edi + 0x58]
cmp esi, ebx
je 0x417866
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x41783f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00406d50
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x417857
mov eax, dword [esi]
jmp 0x417859
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.004093c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x417882
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00406d50
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x4178ce
cmp dword [esi + 4], 0
je 0x4178b5
mov eax, dword [esi + 4]
test eax, eax
je 0x4178b5
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi], 0xffffffff
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x4178ce
mov ecx, esi
call fcn.00449f00
push 0x50
push esi
call fcn.004f04b6
add esp, 8
push 0x50
call fcn.004f04c4
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 1
call fcn.004ad5f0
sub esp, 0x1c
mov ecx, 0x419390
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x417913
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____cdecl___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x419390
mov dword [eax + 0x24], eax
push str.ABDEF
push edi
mov ecx, esi
call fcn.00449cb0
mov dword [edi + 0x7c], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x417931
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41aa70
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533ae8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58a464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41aac1
mov eax, dword [esi]
jmp 0x41aac3
mov eax, esi
mov edx, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x41aae4
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41aad5
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004065f0
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], 0
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], 0
mov word [esi + 0x18], ax
cmp word [edi], ax
jne 0x41ab14
xor ecx, ecx
jmp 0x41ab2f
mov ecx, edi
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ab20
sub ecx, ebx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x18]
call fcn.004065f0
mov eax, dword [ebp + 0x14]
movsd xmm0, qword [0x574ad0]
mov dword [esi + 0x30], eax
xor eax, eax
mov dword [esi + 0x38], 0x40a010
movsd qword [esi + 0x40], xmm0
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], 0xffffffff
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov byte [esi + 0x58], 0
mov dword [esi + 0x70], 7
mov dword [esi + 0x6c], 0
mov word [esi + 0x5c], ax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], 0xf
mov byte [esi + 0x74], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41e8f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x58a464]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x41e94b
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f0482
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call edi
test eax, eax
je 0x41e9ab
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push dword [ebp - 0x238]
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
je 0x41e99e
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call edi
test eax, eax
jne 0x41e971
jmp 0x41e9aa
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop edi
pop esi
call fcn.004f0482
mov esp, ebp
pop ebp
ret