joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404f80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4160d8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push esi
mov eax, dword [0x41b0ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp + 0xc]
call fcn.00405d40
movzx eax, al
test eax, eax
je 0x404fbe
jmp 0x40513a
mov ecx, dword [ebp + 8]
call fcn.004028d0
mov esi, eax
mov ecx, dword [ebp + 0xc]
call fcn.004028d0
lea ecx, [esi + eax + 4]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00405d80
mov dword [ebp - 4], 0
push 0x4179f8
lea ecx, [ebp - 0x38]
call fcn.00405e60
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.00405e80
push eax
call fcn.00407aea
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.004026c0
push eax
lea ecx, [ebp - 0x38]
call fcn.00405e60
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.00405e80
push eax
call fcn.004089a7
add esp, 0xc
push 0x4179fc
lea ecx, [ebp - 0x38]
call fcn.00405e60
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.00405e80
push eax
call fcn.004089a7
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.004026c0
push eax
lea ecx, [ebp - 0x38]
call fcn.00405e60
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.00405e80
push eax
call fcn.004089a7
add esp, 0xc
mov dword [ebp - 0x84], 0
push 0x40
push 0
lea edx, [ebp - 0x80]
push edx
call fcn.00407a70
add esp, 0xc
mov dword [ebp - 0x84], 0x44
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x84]
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.00405e80
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4050e9
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405e00
jmp 0x40513a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x20], 0
je 0x40510c
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x1c], 0
je 0x405123
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405e00
xor eax, eax
jne 0x404faa
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407a5c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b0ac]
jne 0x407a66
repz ret
jmp fcn.00408dee

Function at 0x411cdc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040abd2
and dword [ebp - 4], 0
cmp dword [0x41ce00], 0
mov ebx, eax
jne 0x411d8d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x411e3e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x411e3e
push eax
call fcn.0040ab60
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41ce00], eax
call esi
push eax
call fcn.0040ab60
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41ce04], eax
call esi
push eax
call fcn.0040ab60
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41ce08], eax
call esi
push eax
call fcn.0040ab60
pop ecx
mov dword [0x41ce10], eax
test eax, eax
je 0x411d8d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ab60
pop ecx
mov dword [0x41ce0c], eax
mov eax, dword [0x41ce0c]
cmp eax, ebx
je 0x411de5
cmp dword [0x41ce10], ebx
je 0x411de5
push eax
call fcn.0040abdb
push dword [0x41ce10]
mov esi, eax
call fcn.0040abdb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x411de5
test edi, edi
je 0x411de5
call esi
test eax, eax
je 0x411ddc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x411ddc
test byte [ebp - 0xc], 1
jne 0x411de5
or dword [ebp + 0x10], 0x200000
jmp 0x411e1e
mov eax, dword [0x41ce04]
cmp eax, ebx
je 0x411e1e
push eax
call fcn.0040abdb
pop ecx
test eax, eax
je 0x411e1e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x411e1e
mov eax, dword [0x41ce08]
cmp eax, ebx
je 0x411e1e
push eax
call fcn.0040abdb
pop ecx
test eax, eax
je 0x411e1e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41ce00]
call fcn.0040abdb
pop ecx
test eax, eax
je 0x411e3e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x411e40
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e910
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40e932
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e939
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e928
mov eax, 1
add ebx, ebx
jne 0x40e94b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e940
jne 0x40e95c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e940
xor ecx, ecx
sub eax, 3
jb 0x40e970
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e9e2
mov ebp, eax
add ebx, ebx
jne 0x40e97b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e988
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e9ac
inc ecx
add ebx, ebx
jne 0x40e998
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e98d
jne 0x40e9a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e98d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e9cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e9bd
jmp 0x40e92e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e9cc
add edi, ecx
jmp 0x40e92e
pop esi
mov edi, esi
mov ecx, 2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e9ea
cmp byte [edi], 1
jne 0x40e9ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40e9ef
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40ea67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf678]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf6b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40ea1c
mov ecx, edi
jns 0x40ea4b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf6b8]
or eax, eax
je 0x40ea61
mov dword [ebx], eax
add ebx, 4
jmp 0x40ea39
call dword [esi + 0xf6bc]
popal
jmp 0x401164
Function at 0x424470
Capabilities:
Decompress data using quicklz
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov cl, byte [eax]
and cl, 2
sub cl, 2
movsx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffd
lea eax, [eax + ecx*2 + 9]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [edx + ecx - 1]
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
push edi
mov eax, 1
dec edx
cmp eax, 1
jne 0x4244b3
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
add ecx, 4
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
test al, 1
je 0x424551
shr eax, 1
mov dword [ebp - 0x14], eax
mov eax, ecx
shr eax, 4
and eax, 0xfff
and ecx, 0xf
mov edi, dword [esi + eax*4]
je 0x4244ec
add dword [ebp - 4], 2
add ecx, 2
xor eax, eax
sub edi, ebx
mov dword [ebp - 8], ecx
mov ecx, ebx
mov dword [ebp - 0x10], edi
jmp 0x42450a
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 2]
add eax, 3
mov dword [ebp - 4], eax
xor eax, eax
sub edi, ebx
mov dword [ebp - 8], ecx
mov ecx, ebx
mov dword [ebp - 0x10], edi
jmp 0x42450a
mov edi, dword [ebp - 0x10]
mov edi, dword [edi + ecx]
mov dword [ecx], edi
mov edi, dword [ebp - 8]
add eax, 3
add ecx, 3
cmp eax, edi
jb 0x424507
add ebx, edi
mov eax, ebx
sub eax, edi
cmp edx, eax
jae 0x424546
mov edi, dword [edx + 1]
inc edx
mov ecx, edi
shr ecx, 0xc
xor ecx, edi
and ecx, 0xfff
mov dword [esi + ecx*4], edx
mov byte [esi + ecx + 0x4000], 1
cmp edx, eax
jb 0x424526
mov eax, dword [ebp - 0x14]
lea edx, [ebx - 1]
jmp 0x4244a3
mov edi, dword [ebp - 0xc]
add edi, 0xfffffff6
cmp ebx, edi
jae 0x4245a8
mov edi, eax
and edi, 0xf
mov edi, dword [edi*4 + 0x452b30]
add dword [ebp - 4], edi
mov dword [ebx], ecx
mov ecx, edi
add ebx, edi
shr eax, cl
lea ecx, [ebx - 3]
cmp edx, ecx
jae 0x4244a3
lea ecx, [ecx]
mov edi, dword [edx + 1]
inc edx
mov ecx, edi
shr ecx, 0xc
xor ecx, edi
and ecx, 0xfff
mov dword [esi + ecx*4], edx
mov byte [esi + ecx + 0x4000], 1
lea ecx, [ebx - 3]
cmp edx, ecx
jb 0x424580
jmp 0x4244a3
mov edi, dword [ebp - 0xc]
cmp ebx, edi
ja 0x4245cf
nop
cmp eax, 1
jne 0x4245be
add dword [ebp - 4], 4
mov eax, 0x80000000
mov ecx, dword [ebp - 4]
mov cl, byte [ecx]
inc dword [ebp - 4]
mov byte [ebx], cl
inc ebx
shr eax, 1
cmp ebx, edi
jbe 0x4245b0
add edi, 0xfffffffd
cmp edx, edi
jae 0x4245f6
mov eax, dword [edx + 1]
inc edx
mov ecx, eax
shr ecx, 0xc
xor ecx, eax
and ecx, 0xfff
mov dword [esi + ecx*4], edx
mov byte [esi + ecx + 0x4000], 1
cmp edx, edi
jb 0x4245d6
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4247dc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46411c]
jne 0x4247e6
repz ret
jmp fcn.004260ea
Function at 0x42a585
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46411c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00426a4c
and dword [ebp - 0x14], 0
cmp dword [0x4ef318], 0
mov dword [ebp - 0x18], eax
jne 0x42a638
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42a6e0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x42a6e0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4ef318], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4ef31c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4ef320], eax
call edi
push eax
call esi
mov dword [0x4ef328], eax
test eax, eax
je 0x42a638
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4ef324], eax
mov eax, dword [0x4ef324]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42a691
cmp dword [0x4ef328], ecx
je 0x42a691
push eax
call esi
push dword [0x4ef328]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42a691
test ebx, ebx
je 0x42a691
call edi
test eax, eax
je 0x42a688
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42a688
test byte [ebp - 8], 1
jne 0x42a691
or dword [ebp + 0x10], 0x200000
jmp 0x42a6c4
mov eax, dword [0x4ef31c]
cmp eax, dword [ebp - 0x18]
je 0x42a6c4
push eax
call esi
test eax, eax
je 0x42a6c4
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42a6c4
mov eax, dword [0x4ef320]
cmp eax, dword [ebp - 0x18]
je 0x42a6c4
push eax
call esi
test eax, eax
je 0x42a6c4
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4ef318]
call esi
test eax, eax
je 0x42a6e0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42a6e2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004247dc
leave
ret
Function at 0x4028e0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x1b0
mov eax, dword [0x537700]
xor eax, esp
mov dword [esp + 0x1ac], eax
push esi
push edi
mov esi, ecx
mov eax, 1
lock xadd dword [0x53b31c], eax
inc eax
mov edi, 0x53b320
cmp eax, 1
jne 0x402922
lea eax, [esp + 0x24]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [edi], eax
cmp byte [esp + 0x1bc], 0
je 0x40297e
xor eax, eax
lock xadd dword [edi], eax
test eax, eax
je 0x40297e
push 0x537028
push eax
lea ecx, [esp + 0x10]
call fcn.00402f30
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_winsock_init.ipp
mov dword [esp + 0x18], str.void___cdecl_boost::asio::detail::winsock_init_base::throw_on_error_struct_boost::asio::detail::winsock_init_base::data__
mov dword [esp + 0x1c], 0x48
mov dword [esp + 0x20], 0x1a
test al, 1
je 0x40297e
cmp eax, 1
jne 0x402999
cmp dword [esp + 8], 0
setne al
test al, al
jne 0x402999
mov ecx, dword [esp + 0x1b4]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004b847a
add esp, 0x1b0
ret 4
lea eax, [esp + 0x14]
push eax
push str.winsock
lea eax, [esp + 0x10]
push eax
call fcn.00404ed0
int3
Function at 0x4044c0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x298
mov eax, dword [0x537700]
xor eax, esp
mov dword [esp + 0x294], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x2a8]
push 0x4edbdc
push 0x76
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x404640
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x404640
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x404640
push esi
push ebx
push edi
call fcn.004ba120
add esp, 0xc
xor eax, eax
test esi, esi
je 0x40458b
cmp esi, 0x40
jb 0x404582
movaps xmm2, xmmword [0x4edeb0]
lea ecx, [edi + 0x20]
mov edx, esi
and edx, 0xffffffc0
movups xmm0, xmmword [ecx - 0x20]
lea ecx, [ecx + 0x40]
add eax, 0x40
movaps xmm1, xmm2
xorps xmm0, xmm2
movups xmmword [ecx - 0x60], xmm0
movups xmm0, xmmword [ecx - 0x50]
xorps xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
xorps xmm0, xmm2
movups xmmword [ecx - 0x30], xmm0
cmp eax, edx
jb 0x404542
cmp eax, esi
jae 0x40458b
xor byte [edi + eax], 0x2b
inc eax
cmp eax, esi
jb 0x404582
lea eax, [edi + 0x1b0]
push 0x21
push eax
call fcn.004c34dc
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x8c
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004ba6a0
push 0x208
lea eax, [esp + 0xa8]
push 0
push eax
call fcn.004ba6a0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x24]
add edi, 0x124
push edi
push 0x4edbe4
push eax
call esi
add esp, 0x24
lea eax, [esp + 0x98]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x98]
push 0x208
push eax
call fcn.00456050
lea eax, [esp + 0xa0]
push eax
push edi
call fcn.004ccf7e
add esp, 0x10
test eax, eax
jne 0x40463c
push 0x80
push eax
push edi
call fcn.004ba6a0
lea eax, [esp + 0x18]
push eax
push 0x4edbec
push edi
call esi
add esp, 0x18
mov al, 1
jmp 0x404642
xor al, al
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b847a
add esp, 0x298
ret 4
Function at 0x408a20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3845
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x537700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 8]
test al, 1
je 0x408aaf
cmp eax, 1
jne 0x408a5e
cmp dword [esi], 0
je 0x408aaf
push dword [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.0040eb10
movq xmm0, qword [esi]
mov eax, dword [esi + 8]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
push 0
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov eax, dword [edi]
add eax, 0x44
push eax
call fcn.0040c9d0
add esp, 0xc
lea ecx, [ebp - 0x54]
call fcn.004125d0
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
mov eax, dword [edi]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov ecx, dword [eax]
lea ebx, [eax + 4]
mov dword [ebp - 0x10], ecx
lea ecx, [eax + 0x44]
mov eax, dword fs:[0x2c]
mov dword [ebp + 0x10], ecx
mov ecx, dword [0x53c078]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 0xc], 0
jne 0x408ae2
call fcn.004b89f4
mov eax, dword [esi + 4]
test eax, eax
je 0x408af1
mov eax, dword [eax + 4]
jmp 0x408af3
xor eax, eax
push 4
push 0x88
push eax
push dword [ebp + 8]
call fcn.0040ac00
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x18], esi
mov ecx, dword [ebx]
xorps xmm0, xmm0
mov dword [esi + 0x38], ecx
lea ecx, [esi + 0x40]
movq qword [esi + 0x20], xmm0
push edi
mov dword [ebp - 4], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x422f90
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0x423f50
mov byte [esi + 0x3c], 0
call fcn.0040eb10
push dword [ebp + 0x10]
lea ecx, [esi + 0x6c]
push 0
push 0
call fcn.0040e9b0
mov eax, dword [ebp + 0xc]
mov edx, 0x1c
push esi
push esi
mov ecx, 0x10
mov dword [ebp - 0x14], esi
cmp word [eax], 2
cmovne ecx, edx
push ecx
mov ecx, dword [ebp - 0x10]
push eax
push 1
push dword [ebx + 0x1c]
add ecx, 0x14
push ebx
call fcn.00429770
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 2
call fcn.004276c0
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 0x409210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
je 0x409399
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
add esi, 0x74
push edi
nop dword [eax + eax]
mov eax, dword [esi - 0x74]
mov dword [ebx], eax
mov eax, dword [esi - 0x70]
mov dword [ebx + 4], eax
mov eax, dword [esi - 0x6c]
mov ecx, dword [esi - 0x68]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [esi - 0x64]
mov ecx, dword [esi - 0x60]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov eax, dword [esi - 0x5c]
mov ecx, dword [esi - 0x58]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov eax, dword [esi - 0x54]
mov ecx, dword [esi - 0x50]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], ecx
mov eax, dword [esi - 0x4c]
mov ecx, dword [esi - 0x48]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
mov eax, dword [esi - 0x44]
mov dword [ebx + 0x30], eax
mov eax, dword [esi - 0x40]
mov dword [ebx + 0x34], eax
mov eax, dword [esi - 0x3c]
mov dword [ebx + 0x38], eax
mov eax, dword [esi - 0x38]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi - 0x34]
mov dword [ebx + 0x40], eax
mov eax, dword [esi - 0x30]
mov dword [ebx + 0x44], eax
mov eax, dword [esi - 0x2c]
mov ecx, dword [esi - 0x28]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], ecx
mov eax, dword [esi - 0x24]
mov ecx, dword [esi - 0x20]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
mov eax, dword [esi - 0x1c]
mov ecx, dword [esi - 0x18]
mov dword [ebx + 0x58], eax
lea eax, [esi - 0x14]
mov dword [ebx + 0x5c], ecx
lea ecx, [ebx + 0x60]
cmp ecx, eax
je 0x4092dc
cmp dword [esi], 0xf
lea eax, [esi - 0x14]
jbe 0x4092d3
mov eax, dword [eax]
push dword [esi - 4]
push eax
call fcn.004049b0
lea eax, [esi + 4]
lea ecx, [ebx + 0x78]
cmp ecx, eax
je 0x4092f7
cmp dword [esi + 0x18], 0xf
jbe 0x4092ee
mov eax, dword [eax]
push dword [esi + 0x14]
push eax
call fcn.004049b0
lea eax, [esi + 0x1c]
lea ecx, [ebx + 0x90]
cmp ecx, eax
je 0x409315
cmp dword [esi + 0x30], 0xf
jbe 0x40930c
mov eax, dword [eax]
push dword [esi + 0x2c]
push eax
call fcn.004049b0
lea eax, [esi + 0x34]
lea ecx, [ebx + 0xa8]
cmp ecx, eax
je 0x409333
cmp dword [esi + 0x48], 0xf
jbe 0x40932a
mov eax, dword [eax]
push dword [esi + 0x44]
push eax
call fcn.004049b0
lea eax, [esi + 0x4c]
lea ecx, [ebx + 0xc0]
cmp ecx, eax
je 0x409351
cmp dword [esi + 0x60], 0xf
jbe 0x409348
mov eax, dword [eax]
push dword [esi + 0x5c]
push eax
call fcn.004049b0
lea edi, [esi + 0x64]
lea ecx, [ebx + 0xd8]
cmp ecx, edi
je 0x40937d
mov edi, dword [edi]
mov eax, 0x38e38e39
mov edx, dword [esi + 0x68]
sub edx, edi
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.00408dd0
add ebx, 0xe4
add esi, 0xe4
sub ebp, 1
jne 0x409230
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x10]
pop ebp
ret
Function at 0x410720
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4486
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x537700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
movzx eax, word [esi]
mov word [edi], ax
movzx eax, word [esi + 2]
mov word [edi + 2], ax
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
lea ecx, [edi + 0x30]
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
call fcn.0040e140
lea eax, [esi + 0x48]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x48]
push eax
call fcn.0040e140
lea eax, [esi + 0x60]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x60]
push eax
call fcn.0040e140
lea eax, [esi + 0x78]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x78]
call fcn.0040e140
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 4
Function at 0x4117a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4629
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x537700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea esi, [edi + 0x14]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b80fd
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
je 0x41187c
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x2c]
call fcn.004034e0
push eax
mov byte [ebp - 4], 4
call fcn.004024b0
int3