joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a123
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x543f30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor edx, edx
lea ecx, [eax + 0x15]
push edi
movzx esi, byte [ecx - 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 2]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x144], esi
inc edx
add ecx, 4
cmp edx, 0x10
jb 0x42a141
push 0x40
lea edx, [ebp - 0x13c]
pop esi
mov ecx, dword [edx + 0x2c]
xor ecx, dword [edx + 0x18]
xor ecx, dword [edx - 8]
xor ecx, dword [edx]
add edx, 4
mov edi, ecx
shr edi, 0x1f
add ecx, ecx
xor edi, ecx
dec esi
mov dword [edx + 0x34], edi
jne 0x42a178
mov ecx, dword [eax]
mov ebx, dword [eax + 0xc]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
and dword [ebp - 0x148], 0
mov dword [ebp - 0x14c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x154], ecx
cmp dword [ebp - 0x148], 0x14
jae 0x42a1dd
mov edx, esi
not edx
mov ecx, edi
and edx, ebx
and ecx, esi
or edx, ecx
mov dword [ebp - 0x150], 0x5a827999
jmp 0x42a223
cmp dword [ebp - 0x148], 0x28
jae 0x42a1f2
mov dword [ebp - 0x150], 0x6ed9eba1
jmp 0x42a21d
cmp dword [ebp - 0x148], 0x3c
jae 0x42a213
mov edx, edi
or edx, esi
mov ecx, edi
and edx, ebx
and ecx, esi
or edx, ecx
mov dword [ebp - 0x150], 0x8f1bbcdc
jmp 0x42a223
mov dword [ebp - 0x150], 0xca62c1d6
mov edx, ebx
xor edx, edi
xor edx, esi
mov ecx, dword [ebp - 0x14c]
mov ebx, dword [ebp - 0x14c]
shr ecx, 0x1b
shl ebx, 5
xor ecx, ebx
mov ebx, dword [ebp - 0x148]
add ecx, dword [ebp + ebx*4 - 0x144]
mov ebx, edi
add ecx, dword [ebp - 0x150]
add ecx, edx
mov edx, dword [ebp - 0x158]
add ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], edi
mov edi, esi
shr esi, 2
shl edi, 0x1e
xor edi, esi
inc dword [ebp - 0x148]
cmp dword [ebp - 0x148], 0x50
mov esi, dword [ebp - 0x14c]
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x14c], ecx
jb 0x42a1bc
mov edx, dword [eax]
add edx, ecx
mov ecx, dword [eax + 4]
add ecx, esi
mov dword [eax + 4], ecx
mov ecx, dword [eax + 8]
add ecx, edi
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, ebx
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
add ecx, dword [ebp - 0x154]
pop edi
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov dword [eax], edx
pop ebx
call fcn.0049d196
leave
ret 4
Function at 0x42a390
Capabilities:
Encode data using xor
Hash data using sha1
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x543f30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 5
mov ebx, ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
mov esi, 0x55a128
mov dword [ebp - 0x84], esi
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
push 0x14
pop ecx
lea esi, [ebp - 0x80]
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
mov dword [ebp - 0x70], 0xc3d2e1f0
call fcn.0042a05e
lea eax, [ebp - 0x84]
push eax
push 4
pop edi
mov ecx, edi
call fcn.0042a05e
push 0
call fcn.0049fd86
pop ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 8
pop ecx
mov dword [ebp - 0x14], edx
call fcn.0042a05e
call fcn.004a0ef3
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0042a05e
call fcn.004a0f5b
mov dword [ebp - 0x18], eax
call fcn.004a0f5b
mov dword [ebp - 0x14], eax
call fcn.004a0f5b
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0xc
pop ecx
call fcn.0042a05e
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x42a472
push eax
push 0x14
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.004a0ed6
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
push 0x14
pop ecx
lea esi, [ebp - 0x80]
call fcn.0042a05e
push edi
call fcn.0049dabc
pop ecx
push eax
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.0042a05e
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0042a05e
push dword [ebp - 0x10]
call fcn.0049d71c
pop ecx
push ebx
push 0x14
pop ecx
call fcn.0042a05e
lea edi, [ebp - 0x20]
call fcn.0042a2ca
mov edx, dword [ebp - 0x84]
mov eax, edi
xor esi, esi
sub edx, eax
sub ebx, eax
mov ecx, dword [ebp + esi*4 - 0x20]
lea eax, [edx + esi*4]
lea eax, [ebp + eax - 0x20]
xor dword [eax], ecx
lea eax, [ebx + esi*4]
lea eax, [ebp + eax - 0x20]
xor dword [eax], ecx
inc esi
cmp esi, 5
jl 0x42a4c6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d196
leave
ret
Function at 0x4334ec
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push 0x70
mov eax, 0x504896
call fcn.004a536e
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], ebx
call fcn.0042918e
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x54]
push eax
push 0x51e988
push 1
push ebx
push 0x515b78
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x433687
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x54]
push str.ROOTCIMV2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x58], edi
cmp edi, ebx
jne 0x433552
mov eax, 0x8007000e
call fcn.00422de0
lea ecx, [ebp - 0x50]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
mov byte [ebp - 4], 4
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
push edi
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jl 0x433676
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x50]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jl 0x433676
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 5
xor eax, eax
push str.UUID
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
call fcn.004014eb
mov byte [ebp - 4], 6
push 0x29
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00401570
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 7
push ecx
mov ecx, dword [ebp - 0x50]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], esp
cmp eax, ebx
je 0x433602
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x7c]
push eax
call fcn.004357a5
add esp, 0x10
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
cmp ecx, eax
je 0x433636
push eax
mov eax, ecx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x433636
push 0xa
pop ecx
mov word [ebp - 0x6c], cx
mov dword [ebp - 0x64], eax
jmp 0x43354d
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x7c]
push eax
call esi
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040136b
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00401512
cmp word [ebp - 0x6c], 8
jne 0x433670
mov eax, dword [ebp - 0x5c]
push dword [ebp - 0x64]
mov ecx, dword [eax]
call fcn.004014eb
lea eax, [ebp - 0x6c]
push eax
call esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x433687
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x433698
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.004a53ca
ret 4
Function at 0x433dc3
Capabilities:
Read file via mapping

Disassembly:
push 0x18
mov eax, 0x503224
call fcn.004a52cf
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x433dda
mov eax, dword [eax]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x433e9c
xor eax, eax
lea edi, [ebp + 8]
stosb byte es:[edi], al
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
push esi
mov dword [ebp - 0x14], esi
call fcn.00443d12
push esi
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00401d61
add esp, 0xc
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00436098
push ebx
push ebx
push ebx
push 2
push ebx
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
cmp esi, ebx
je 0x433e8c
cmp esi, 0xffffffff
je 0x433e8c
xor eax, eax
lea edi, [ebp + 8]
stosb byte es:[edi], al
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
push esi
mov dword [ebp - 0x24], esi
call fcn.00443d6b
push esi
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.00401d61
add esp, 0xc
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
jne 0x433ea4
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x433e8c
call fcn.00402ea5
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x433e9c
call fcn.00402ea5
xor al, al
call fcn.004a53a7
ret
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 0xc]
call fcn.0043610f
push dword [ebp - 0x1c]
push edi
push dword [esi]
call fcn.004a2880
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x433ed3
call fcn.00402ea5
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x433ee3
call fcn.00402ea5
mov al, 1
jmp 0x433e9e

Function at 0x4341f0
Capabilities:
Check os version

Disassembly:
push 0
mov eax, 0x5000c4
call fcn.004a52cf
mov edi, dword [ebp + 8]
mov esi, edi
call fcn.0043689b
xor ebx, ebx
lea esi, [edi + 0x10]
mov dword [ebp - 4], ebx
call fcn.0043689b
lea esi, [edi + 0x20]
mov byte [ebp - 4], 1
call fcn.0043689b
push 0x11c
mov byte [ebp - 4], 2
lea esi, [edi + 0x30]
push ebx
push esi
mov dword [edi + 0x14c], ebx
mov dword [edi + 0x150], ebx
call fcn.004a2800
add esp, 0xc
push edi
mov dword [esi], 0x114
call fcn.004365f5
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
call ebx
test eax, eax
je 0x434261
mov eax, edi
call fcn.00438239
cmp dword [edi + 0x14c], 6
jl 0x43427e
push esi
mov dword [esi], 0x11c
call ebx
test eax, eax
je 0x43427e
mov eax, edi
call fcn.00438239
mov eax, edi
call fcn.004a53a7
ret 4
Function at 0x43a2f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [esi], 0x1571
mov dword [esi + 0x9c0], 1
push edi
mov ecx, dword [esi + 0x9c0]
lea eax, [esi + ecx*4]
mov edx, dword [eax - 4]
mov edi, edx
shr edi, 0x1e
xor edi, edx
imul edi, edi, 0x6c078965
add edi, ecx
mov dword [eax], edi
inc dword [esi + 0x9c0]
cmp dword [esi + 0x9c0], 0x270
jb 0x43a301
mov eax, esi
call fcn.0043f6b5
mov eax, esi
pop edi
ret

Function at 0x440e82
Capabilities:
Check mutex on windows

Disassembly:
push 0x10
mov eax, 0x4fff01
call fcn.004a52cf
xor ebx, ebx
mov dword [ebp - 0x14], ebx
xor eax, eax
lea edi, [ebp - 0x10]
stosb byte es:[edi], al
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
call fcn.00445030
push ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00401d61
add esp, 0xc
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x440ecc
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, eax
jmp 0x440ece
xor edi, edi
lea esi, [edi + 4]
cmp esi, ebx
je 0x440f14
mov eax, dword [ebp + 0xc]
mov dword [esi], ebx
mov byte [esi + 4], bl
cmp dword [eax + 0x14], 8
jb 0x440ee5
mov eax, dword [eax]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
mov byte [esi + 4], al
cmp al, bl
je 0x440f14
mov eax, dword [esi]
cmp eax, ebx
je 0x440f14
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
mov byte [edi], 1
call fcn.00401d61
mov edi, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 4]
mov dword [edi], esi
call fcn.00402edd
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
cmp ecx, ebx
je 0x440f4c
call fcn.00402ea5
mov eax, edi
call fcn.004a53a7
ret
Function at 0x441a1f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5051cb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x543f30]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
mov eax, dword [0x543f30]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 0x51b19c
push str._dev_urandom
mov dword [esp + 0x30], 5
call fcn.004a0c07
pop ecx
pop ecx
mov dword [esp + 0x2c], eax
and dword [esp + 0x40], 0
lea ecx, [esp + 0x14]
call fcn.0042a390
mov eax, dword [esp + 0x14]
and dword [esp + 0xc], 0
mov dword [esp + 0x28], 1
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x28], 5
mov esi, eax
jl 0x441aae
lea ecx, [esp + 0x14]
call fcn.0042a390
and dword [esp + 0x28], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + eax*4 + 0x14]
add dword [esp + 0x10], 0x20
inc dword [esp + 0x28]
shl esi, cl
add ebx, esi
cmp dword [esp + 0x10], 0x20
jb 0x441a97
mov ecx, dword [esp + 0xc]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x270
mov dword [edi + ecx*4], ebx
jb 0x441a91
mov eax, edi
mov dword [edi + 0x9c0], 0x270
call fcn.0043f6b5
cmp dword [esp + 0x2c], 0
je 0x441b05
push dword [esp + 0x2c]
call fcn.0049fd12
pop ecx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0049d196
mov esp, ebp
pop ebp
ret

Function at 0x446dd6
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
lea ecx, [esi + 4]
mov dword [ebp - 4], 0xde
mov edx, accept
push ebx
mov eax, dword [ecx]
mov ebx, dword [ecx - 4]
xor ebx, eax
and eax, 1
imul eax, eax, 0x9908b0df
and ebx, edx
xor ebx, dword [ecx - 4]
add ecx, 4
shr ebx, 1
xor ebx, eax
xor ebx, dword [ecx + 0x62c]
dec dword [ebp - 4]
mov dword [ecx - 8], ebx
jne 0x446dea
lea eax, [esi + 0x37c]
mov dword [ebp - 4], 5
mov ecx, dword [eax]
mov ebx, dword [eax - 4]
xor ebx, ecx
and ecx, 1
imul ecx, ecx, 0x9908b0df
and ebx, edx
xor ebx, dword [eax - 4]
add eax, 4
shr ebx, 1
xor ebx, ecx
xor ebx, dword [eax + 0x62c]
dec dword [ebp - 4]
mov dword [eax - 8], ebx
jne 0x446e21
lea eax, [esi + 0x390]
mov dword [ebp - 4], 0x18c
mov ecx, dword [eax]
mov ebx, dword [eax - 4]
xor ebx, ecx
and ecx, 1
imul ecx, ecx, 0x9908b0df
and ebx, edx
xor ebx, dword [eax - 4]
add eax, 4
shr ebx, 1
xor ebx, ecx
xor ebx, dword [eax - 0x394]
dec dword [ebp - 4]
mov dword [eax - 8], ebx
jne 0x446e58
mov eax, dword [esi]
mov ecx, dword [esi + 0x9bc]
xor ecx, eax
and eax, 1
imul eax, eax, 0x9908b0df
and ecx, edx
xor ecx, dword [esi + 0x9bc]
pop ebx
shr ecx, 1
xor ecx, eax
xor ecx, dword [esi + 0x630]
and dword [esi + 0x9c0], 0
mov dword [esi + 0x9bc], ecx
leave
ret

Function at 0x44b480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ecx
push 1
push edx
call fcn.0049f92c
add esp, 0x10
pop ebp
ret 8
Function at 0x44bcd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50512d
push eax
mov eax, dword [ebp + 0x10]
mov dword fs:[0], esp
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
cmp eax, ebx
jne 0x44bd06
xor ecx, ecx
jmp 0x44bd0d
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov dword [esi + 0x10], ecx
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x3c]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x34], eax
movzx eax, word [ecx + 0x40]
lea edx, [esi + 0x3c]
push edx
mov word [esi + 0x38], ax
call fcn.00402bc5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push eax
mov ecx, esi
mov dword [esi + 0xc], 0x11
call fcn.0044be10
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44e700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x58], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], eax
mov byte [esp + 0x78], al
mov dword [esp + 0xc4], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov ebx, ecx
mov byte [esp + 0xc4], 1
call fcn.0044edc0
xor ebx, ebx
lea edx, [esp + 0x60]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], edx
mov edx, 0x51ed64
mov byte [esp + 0xc4], 2
mov eax, edx
inc eax
cmp byte [eax], bl
jne 0x44e7a5
mov esi, 0x51ed68
mov ecx, esi
inc ecx
cmp byte [ecx], bl
jne 0x44e7b1
mov edi, ecx
mov cl, byte [esp + 0x13]
mov byte [esp + 0x4c], cl
mov ecx, edx
mov edx, 0x51ed6c
mov dword [esp + 0x54], eax
mov eax, edx
lea ecx, [ecx]
inc eax
cmp byte [eax], bl
jne 0x44e7d0
movzx ebx, byte [esp + 0x13]
mov byte [esp + 0x1c], bl
movzx ebx, byte [esp + 0x13]
mov dword [esp + 0x94], edx
mov byte [esp + 0x1d], bl
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x9c], edx
lea edx, [esp + 0x20]
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], ecx
push edx
lea eax, [esp + 0x98]
lea edi, [ebp + 0x10]
lea ecx, [ebp + 0xc]
lea esi, [esp + 0x18]
call fcn.0044f4d0
add esp, 4
lea edi, [esp + 0x20]
mov byte [esp + 0xc4], 4
call fcn.0044ed90
mov eax, dword [esp + 0x30]
xor ebx, ebx
cmp eax, ebx
je 0x44e86d
push eax
call fcn.0049d71c
add esp, 4
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0xc8], bl
call fcn.0044ea10
cmp byte [esp + 0x18], bl
jne 0x44e8c7
push 5
push str.error
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00401570
lea ecx, [esp + 0x44]
mov byte [esp + 0xc4], 5
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.0044ed50
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov dword [esi], eax
jb 0x44e8e7
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0049d71c
add esp, 4
mov eax, dword [esp + 0x68]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp eax, ebx
je 0x44e90e
push eax
call fcn.0049d71c
add esp, 4
mov ecx, dword [esp + 0xbc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f9c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 0x10]
push ebx
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
push esi
push edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edx
mov edi, edi
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebx]
lea edi, [esp + 0x2c]
lea esi, [esp + 0x24]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
call fcn.004552d0
cmp byte [esp + 0x28], 0
mov eax, dword [eax]
je 0x44fa1a
mov byte [esp + 0x28], 0
mov esi, dword [ebp + 8]
test eax, eax
js 0x44fa27
mov dword [esp + 0x14], eax
jmp 0x44fa7f
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
movzx ecx, byte [esi + 8]
mov al, byte [esi + 9]
mov edx, dword [esi + 4]
mov byte [esp + 0x12], cl
mov cl, byte [0x55a0f3]
mov byte [esp + 0x13], al
mov di, word [esp + 0x12]
mov byte [esp + 0x7a], cl
mov ecx, dword [esi]
mov byte [esp + 0x4c], al
lea eax, [esp + 0x14]
mov dword [esp + 0x44], edx
mov word [esp + 0x78], di
mov edx, dword [esp + 0x78]
mov dword [esp + 0x40], ecx
push eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], edx
call fcn.00456ce0
mov eax, dword [esp + 0x14]
test eax, eax
js 0x44fa89
mov dword [esp + 0x1c], eax
jmp 0x44fb01
mov ecx, dword [esp + 0x18]
mov dword [ebx], ecx
mov dl, byte [esi + 0x14]
mov edi, dword [esi + 0x1c]
mov cl, byte [0x55a0f3]
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov byte [esp + 0x7c], dl
mov edx, dword [esp + 0x7c]
mov byte [esp + 0x94], cl
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xa8], edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x60], edx
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x1c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x64], edi
push edx
lea ebx, [esp + 0x30]
lea edi, [esp + 0x54]
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
call fcn.00456b20
mov ebx, dword [esp + 0x38]
cmp dword [esp + 0x1c], 0
mov eax, dword [ebp + 0xc]
jge 0x44f9f0
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x20]
pop edi
pop esi
mov dword [ecx], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455b70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x502b98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
push edi
push eax
mov ebx, edx
call fcn.0044f9c0
mov ecx, dword [edi + 0xc]
mov eax, dword [edi]
mov edx, dword [ecx]
push edi
push eax
mov dword [esp + 0x1c], edx
call fcn.0044f9c0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x20]
mov eax, dword [edi]
mov esi, dword [ebx + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x10]
push edx
mov edx, dword [ebx]
mov dword [esp + 0x3c], eax
call fcn.00456e00
mov esi, dword [ebp + 8]
add esp, 0x18
cmp dword [esi], 0
jl 0x455c3b
mov eax, dword [ebx + 8]
mov edi, dword [edi + 0xc]
mov edi, dword [edi]
test eax, eax
jne 0x455c26
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], str.call_to_empty_boost::function
call fcn.0049d23e
mov dword [esp + 0x14], vtable.boost::bad_function_call.0
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x38], 0
call fcn.0041cd70
mov edx, dword [esp + 0xc]
push edi
and eax, 0xfffffffe
mov eax, dword [eax + 4]
push edx
add ebx, 0x10
push ebx
call eax
add esp, 0xc
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x459270
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x543f30]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4592c0
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x4592ba
shr eax, 8
cmp al, 2
jne 0x4592ba
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d196
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 2
call fcn.0049d196
mov esp, ebp
pop ebp
ret