joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402300
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x644a10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sub eax, 0x80
push ebx
mov ebx, ecx
push edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], 0x1000000
mov dword [ebp - 0x3c], 0x2000000
mov dword [ebp - 0x38], 0x4000000
mov dword [ebp - 0x34], 0x8000000
mov dword [ebp - 0x30], 0x10000000
mov dword [ebp - 0x2c], 0x20000000
mov dword [ebp - 0x28], 0x40000000
mov dword [ebp - 0x24], Ordinal_1
mov dword [ebp - 0x20], 0x1b000000
mov dword [ebp - 0x1c], 0x36000000
mov dword [ebp - 0x18], 0x6c000000
mov dword [ebp - 0x14], 0xd8000000
mov dword [ebp - 0x10], 0xab000000
mov dword [ebp - 0xc], 0x4d000000
mov dword [ebp - 8], 0x9a000000
je 0x4023b2
sub eax, 0x40
je 0x4023a4
sub eax, 0x40
jne 0x40253b
mov dword [ebp - 0x44], 0xe
lea edi, [eax + 8]
jmp 0x4023be
mov dword [ebp - 0x44], 0xc
mov edi, 6
jmp 0x4023be
mov dword [ebp - 0x44], 0xa
mov edi, 4
xor ecx, ecx
push esi
test edi, edi
jle 0x4023f9
mov eax, dword [ebp + 8]
add eax, 2
jmp 0x4023d0
movzx edx, byte [eax - 2]
movzx esi, byte [eax - 1]
shl edx, 8
or edx, esi
movzx esi, byte [eax]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 1]
shl edx, 8
or edx, esi
mov dword [ebx + ecx*4], edx
inc ecx
add eax, 4
cmp ecx, edi
jl 0x4023d0
mov eax, dword [ebp - 0x44]
lea eax, [eax*4 + 4]
mov esi, edi
mov dword [ebp - 0x4c], eax
cmp edi, eax
jge 0x40253a
mov dword [ebp - 0x44], ebx
mov eax, esi
cdq
idiv edi
mov ecx, dword [ebx + esi*4 - 4]
test edx, edx
jne 0x4024a4
mov eax, ecx
rol eax, 8
mov ecx, eax
shr ecx, 0x1c
mov edx, eax
shr edx, 0x18
and edx, 0xf
add ecx, ecx
movzx ecx, byte [edx + ecx*8 + str.cw]
mov edx, eax
shr edx, 0x14
and edx, 0xf
add edx, edx
mov ebx, eax
shr ebx, 0x10
and ebx, 0xf
movzx edx, byte [ebx + edx*8 + str.cw]
shl ecx, 8
add ecx, edx
mov edx, eax
shr edx, 0xc
and edx, 0xf
mov ebx, eax
add edx, edx
shr ebx, 8
and ebx, 0xf
movzx edx, byte [ebx + edx*8 + str.cw]
shl ecx, 8
add ecx, edx
mov edx, eax
shr edx, 4
and edx, 0xf
and eax, 0xf
add edx, edx
movzx eax, byte [eax + edx*8 + str.cw]
shl ecx, 8
add ecx, eax
lea eax, [esi - 1]
cdq
idiv edi
xor ecx, dword [ebp + eax*4 - 0x40]
jmp 0x40251d
cmp edi, 6
jle 0x402520
cmp edx, 4
jne 0x402520
mov edx, ecx
shr edx, 0x1c
mov eax, ecx
shr eax, 0x18
and eax, 0xf
add edx, edx
movzx edx, byte [eax + edx*8 + str.cw]
mov eax, ecx
shr eax, 0x14
and eax, 0xf
add eax, eax
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xf
movzx eax, byte [ebx + eax*8 + str.cw]
shl edx, 8
add edx, eax
mov eax, ecx
shr eax, 0xc
and eax, 0xf
mov ebx, ecx
add eax, eax
shr ebx, 8
and ebx, 0xf
movzx eax, byte [ebx + eax*8 + str.cw]
shl edx, 8
add edx, eax
mov eax, ecx
shr eax, 4
and eax, 0xf
add eax, eax
and ecx, 0xf
movzx ecx, byte [ecx + eax*8 + str.cw]
shl edx, 8
add ecx, edx
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
xor edx, ecx
mov dword [ebx + esi*4], edx
inc esi
add eax, 4
mov dword [ebp - 0x44], eax
cmp esi, dword [ebp - 0x4c]
jl 0x402413
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.005b2129
mov esp, ebp
pop ebp
ret
Function at 0x404cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
push eax
mov eax, dword [ebp + 8]
call fcn.00403ae0
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
add esp, 4
mov dword [ebp - 4], 0xf
jmp 0x404d00
mov eax, edi
mov esi, edx
call fcn.00404070
xor eax, ebx
add edi, 6
dec dword [ebp - 4]
mov edx, eax
mov ebx, esi
jne 0x404d00
mov eax, dword [ebp + 0x10]
add eax, 0x5a
mov dword [ebp - 8], edx
call fcn.00404070
mov edi, dword [ebp + 0xc]
xor eax, esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
call fcn.00403d90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea esi, [eax + 1]
mov dword [ebp - 4], esi
lea eax, [ecx + 0x10]
mov edi, 4
push ebx
mov dl, byte [esi - 1]
movzx ebx, byte [eax]
xor bl, dl
mov byte [eax + 0x20], bl
movzx ebx, byte [eax + 1]
mov byte [eax + 0x10], dl
mov dl, byte [esi]
xor bl, dl
mov byte [eax + 0x21], bl
movzx ebx, byte [eax + 2]
mov byte [eax + 0x11], dl
mov dl, byte [esi + 1]
xor bl, dl
mov byte [eax + 0x22], bl
movzx ebx, byte [eax + 3]
mov byte [eax + 0x12], dl
mov dl, byte [esi + 2]
xor bl, dl
mov byte [eax + 0x13], dl
mov byte [eax + 0x23], bl
add eax, 4
add esi, 4
dec edi
jne 0x404de5
xor edx, edx
lea ebx, [ebx]
lea eax, [ecx + 0x11]
mov esi, 8
jmp 0x404e40
movzx edx, byte [edx + 0x630520]
xor byte [eax - 1], dl
movzx edx, byte [eax - 1]
movzx edx, byte [edx + 0x630520]
xor byte [eax], dl
movzx edx, byte [eax]
movzx edx, byte [edx + 0x630520]
xor byte [eax + 1], dl
movzx edx, byte [eax + 1]
movzx edx, byte [edx + 0x630520]
xor byte [eax + 2], dl
movzx edx, byte [eax + 2]
movzx edx, byte [edx + 0x630520]
xor byte [eax + 3], dl
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x630520]
xor byte [eax + 4], dl
movzx edx, byte [eax + 4]
add eax, 6
dec esi
jne 0x404e40
add edx, edi
inc edi
and edx, 0xff
cmp edi, 0x12
jl 0x404e30
movzx edx, byte [ecx + 0x4f]
lea eax, [ecx + 0x41]
mov ecx, dword [ebp - 4]
mov esi, 4
pop ebx
jmp 0x404ec0
movzx edi, byte [ecx - 1]
xor edi, edx
movzx edx, byte [edi + 0x630520]
xor byte [eax - 1], dl
movzx edi, byte [ecx]
movzx edx, byte [eax - 1]
xor edi, edx
movzx edx, byte [edi + 0x630520]
xor byte [eax], dl
movzx edi, byte [ecx + 1]
movzx edx, byte [eax]
xor edi, edx
movzx edx, byte [edi + 0x630520]
xor byte [eax + 1], dl
movzx edi, byte [ecx + 2]
movzx edx, byte [eax + 1]
xor edi, edx
movzx edx, byte [edi + 0x630520]
xor byte [eax + 2], dl
movzx edx, byte [eax + 2]
add ecx, 4
add eax, 4
dec esi
jne 0x404ec0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ace0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be2dc
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x644a10]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], ecx
push eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
xor esi, esi
push str.258EAFA5_E914_47DA_95CA_C5AB0DC85B11
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], esi
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_char_1_::Append]
mov ebx, dword [ebp - 0xa8]
mov edx, dword [ebx - 0xc]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
push edx
lea esi, [ebp - 0xa4]
mov dword [ebp - 0x54], 0x67452301
mov dword [ebp - 0x50], 0xefcdab89
mov dword [ebp - 0x4c], 0x98badcfe
mov dword [ebp - 0x48], 0x10325476
mov dword [ebp - 0x44], 0xc3d2e1f0
mov dword [ebp - 0x40], 0x5a827999
mov dword [ebp - 0x3c], 0x6ed9eba1
mov dword [ebp - 0x38], 0x8f1bbcdc
mov dword [ebp - 0x34], 0xca62c1d6
call fcn.00405ea0
add esp, 4
lea edi, [ebp - 0x28]
call fcn.00405ef0
mov esi, dword [ebp - 0xac]
push 0x1e
mov ecx, esi
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_char_1_::GetBuffer]
mov edi, eax
lea eax, [ebp - 0x28]
call fcn.00401030
push eax
mov ecx, esi
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_char_1_::ReleaseBufferSetLength]
lea ecx, [ebp - 0xa8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitM]
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 - 0x14]
xor ecx, ebp
call fcn.005b2129
mov esp, ebp
pop ebp
ret
Function at 0x411c90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x644a10]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x402]
push ecx
mov dword [ebp - 0x408], 0
mov word [ebp - 0x404], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, edi
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
push 0x200
lea edx, [ebp - 0x404]
push edx
push str.77096DF368124074A8C2AC8C531D19C4
push 0x62f0d4
push 0x62f1c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
mov ecx, esi
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_wchar_t_const___int_]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.005b2129
mov esp, ebp
pop ebp
ret

Function at 0x411d20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x644a10]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x402]
push ecx
mov dword [ebp - 0x408], 0
mov word [ebp - 0x404], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, edi
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
push 0x200
lea edx, [ebp - 0x404]
push edx
push 0x62f1d8
push str.secertKey
push str.Server
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
mov ecx, esi
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_wchar_t_const___int_]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.005b2129
mov esp, ebp
pop ebp
ret
Function at 0x411e40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be435
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
push esi
push edi
mov eax, dword [0x644a10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.Ukey_Server_DEBD5D23_A29C_4AF9_ABEC_4608B9EEF36B
push 1
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0xb8], eax
cmp eax, edi
je 0x411eb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x411eb9
mov eax, dword [esi + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xb8], edi
xor eax, eax
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 - 0x14]
push ecx
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x10], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CWinApp::InitInstance]
push 0xc
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x411ef8
mov ecx, eax
call dword [sym.imp.mfc100u.dll_CShellManager::CShellManager]
mov edi, eax
lea edx, [ebp - 0x104]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.00412340
lea eax, [ebp - 0x104]
mov dword [ebp - 4], 1
mov ecx, eax
mov dword [esi + 0x20], eax
call dword [sym.imp.mfc100u.dll_CDialog::DoModal]
test edi, edi
je 0x411f32
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
lea ecx, [ebp - 0x104]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00411f60
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427d00
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x427d98
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x427d24
mov eax, dword [edi + 0x30]
push ebx
push esi
push eax
push 0
mov ecx, edi
call fcn.004256b0
mov esi, dword [edi + 0xc]
dec esi
js 0x427d6c
test esi, esi
js 0x427d9d
cmp esi, dword [edi + 0xc]
jge 0x427d9d
mov eax, dword [edi + 8]
mov ebx, dword [eax + esi*4]
lea ecx, [ebp + 8]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp + 8], 0x103
jne 0x427d62
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
dec esi
jns 0x427d36
mov edx, dword [edi + 0x40]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
lea esi, [edi + 0x14]
push esi
mov dword [edi + 0x40], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [edi + 0x3c]
push eax
call ebx
pop esi
pop ebx
pop edi
pop ebp
ret 4
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x427e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9e23
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x644a10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
push edi
mov ebx, 1
push ebx
push ebx
push edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.CUdpNode.0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi + 4], eax
cmp ecx, edi
jne 0x427ead
push 0x80004005
call fcn.00423210
mov byte [ebp - 4], bl
mov dword [esi + 8], ebx
call fcn.00451440
mov dword [esi + 0xc], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x18], 0x598
mov dword [esi + 0x1c], 0x12c
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], 0xffffffff
xor eax, eax
mov ecx, 0x400
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
xor edx, edx
mov word [esi + 0x30], dx
mov dword [esi + 0x32], eax
mov dword [esi + 0x36], eax
mov dword [esi + 0x3a], eax
mov dword [esi + 0x3e], eax
mov dword [esi + 0x42], eax
mov dword [esi + 0x46], eax
mov word [esi + 0x4a], ax
mov word [esi + 0x4c], ax
mov dword [esi + 0x4e], eax
mov dword [esi + 0x52], eax
mov dword [esi + 0x56], eax
mov dword [esi + 0x5a], eax
mov dword [esi + 0x5e], eax
mov dword [esi + 0x62], eax
mov word [esi + 0x66], ax
mov edx, dword [0x645898]
push edx
push ecx
lea ebx, [esi + 0x68]
push ecx
mov ecx, ebx
call fcn.00425320
mov eax, dword [ebp + 8]
mov dword [esi + 0x14c], edi
mov dword [esi + 0x150], edi
mov dword [esi + 0x148], edi
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], 0xffffffff
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], 3
mov dword [esi + 0x168], edi
mov dword [esi + 0x16c], edi
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], edi
mov dword [esi + 0x17c], edi
mov dword [esi + 0x180], edi
mov dword [esi + 0x184], edi
mov dword [esi + 0x188], edi
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 4

Function at 0x429110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42912b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x429162
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x42915e
jmp 0x429150
cmp esi, eax
jae 0x429162
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x429150
cmp esi, eax
jb 0x429169
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42b690
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp esi, dword [eax]
jne 0x42b6bb
cmp dword [ebp + 0x10], eax
jne 0x42b6bb
call fcn.0042b620
mov eax, dword [edi + 4]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
pop esi
pop ebp
ret 0xc
cmp esi, dword [ebp + 0x10]
je 0x42b7a9
push ebx
mov edx, dword [esi]
mov dword [ebp + 0xc], edx
mov ecx, dword [esi + 8]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42b6d2
sub eax, ebx
add eax, ecx
mov edx, 0x811c9dc5
cmp ecx, eax
je 0x42b6f6
movsx ebx, byte [ecx]
imul edx, edx, 0x1000193
inc ecx
xor edx, ebx
cmp ecx, eax
jne 0x42b6e6
mov ecx, dword [edi + 0x20]
mov eax, ecx
and eax, edx
cmp dword [edi + 0x24], eax
ja 0x42b70b
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov ecx, dword [edi + 0x10]
cmp dword [ecx + eax*8 + 4], esi
lea ecx, [ecx + eax*8]
jne 0x42b734
cmp dword [ecx], esi
jne 0x42b72c
mov edx, dword [edi + 4]
mov dword [ecx], edx
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 4]
mov dword [ecx + eax*8 + 4], edx
jmp 0x42b73c
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x42b73c
cmp dword [ecx], esi
jne 0x42b73c
mov edx, dword [esi]
mov dword [ecx], edx
cmp esi, dword [edi + 4]
je 0x42b79a
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 0xc]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b76f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b78e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call sub.mfc100u.dll_delete
add esp, 4
dec dword [edi + 8]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
cmp esi, ecx
jne 0x42b6c5
pop ebx
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 0xc
Function at 0x42bd20
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba0b2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x644a10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 4], eax
lea eax, [ebp + 0xb]
mov dword [esi + 0x10], edx
push eax
lea edx, [ebp + 0xa]
xor edi, edi
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x38]
push edx
mov dword [esi], edi
mov dword [esi + 8], edi
call fcn.00428ea0
lea eax, [ebp + 0xb]
push eax
lea edx, [ebp + 0xa]
lea ecx, [esi + 0x64]
push edx
mov dword [ebp - 4], edi
call fcn.00428ea0
mov eax, dword [0x644a38]
mov edx, dword [eax + 0xc]
mov ecx, 0x644a38
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [esi + 0x90], eax
mov eax, dword [0x644a38]
mov edx, dword [eax + 0xc]
mov ecx, 0x644a38
mov byte [ebp - 4], 2
call edx
add eax, 0x10
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xffff0001
add ecx, 0xffff
mov byte [ebp - 4], 3
mov word [esi + 0x98], cx
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
cmp eax, edi
je 0x42be28
push 0x20
call sub.mfc100u.dll_new__
add esp, 4
cmp eax, edi
je 0x42be4f
push fcn.00424da0
push 0x424d80
push 7
lea ebx, [eax + 4]
push 4
push ebx
mov dword [eax], 7
call fcn.005b245b
jmp 0x42be51
push 4
call sub.mfc100u.dll_new
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x42be4f
mov edx, dword [0x644a38]
mov eax, dword [edx + 0xc]
mov ecx, 0x644a38
call eax
add eax, 0x10
mov dword [ebx], eax
jmp 0x42be51
xor ebx, ebx
xor ecx, ecx
cmp dword [esi + 4], edi
lea edx, [esi + 0x18]
sete cl
mov dword [esi + 0x9c], ebx
push ecx
push edx
call fcn.00446b90
add esp, 8
mov dword [esi + 0x30], esi
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 0xc
Function at 0x438d30
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push 4
lea eax, [ebp + 0xc]
push eax
push 0x7010
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
pop ebp
ret

Function at 0x438f00
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
test eax, eax
jne 0x438f52
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 8]
push eax
push 0xfffffffffffffffb
push 0xffff
push edi
call ebx
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0xffff
push edi
mov esi, eax
call ebx
pop edi
or eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x438f8b
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea edx, [ebp - 4]
push edx
push 0xfffffffffffffffb
push 0xffff
push edi
call ebx
push 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push 4
push 0xffff
push edi
call ebx
pop edi
or eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x438fc4
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [ebp - 4]
push ecx
push 0xfffffffffffffffb
push 0xffff
push edi
call ebx
push 4
lea edx, [ebp - 8]
push edx
push 4
push 0xffff
push edi
mov esi, eax
call ebx
pop edi
or eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4391d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push edi
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
lea esi, [eax + 0x1c]
mov eax, dword [eax + 0x34]
push 1
push esi
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x43920e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
cmp eax, edi
jbe 0x43921f
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0x2775
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x439230
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x644a10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push esi
mov esi, dword [ebp + 0x10]
cmp word [esi], 2
push edi
mov edi, dword [ebp + 8]
push 4
lea ecx, [ebp + 0x14]
push ecx
mov dword [ebp - 0x1c], eax
push 0xa
jne 0x4392d3
push 0
push edi
call ebx
cmp eax, 0xffffffff
jne 0x439277
push 0x80004005
call fcn.00423210
push 4
lea edx, [ebp + 0x18]
push edx
push 0xb
push 0
push edi
call ebx
cmp eax, 0xffffffff
jne 0x439293
push 0x80004005
call fcn.00423210
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
push 8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
push 0
push edi
mov dword [ebp - 0x20], edx
call ebx
cmp eax, 0xffffffff
jne 0x43935a
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b2129
mov esp, ebp
pop ebp
ret
push 0x29
push edi
call ebx
cmp eax, 0xffffffff
jne 0x4392e7
push 0x80004005
call fcn.00423210
push 4
lea edx, [ebp + 0x18]
push edx
push 0xb
push 0x29
push edi
call ebx
cmp eax, 0xffffffff
jne 0x439303
push 0x80004005
call fcn.00423210
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
push 0x14
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0xc
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + 0x18]
push 0x29
push edi
mov dword [ebp - 8], edx
call ebx
cmp eax, 0xffffffff
jne 0x43935a
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b2129
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.005b2129
mov esp, ebp
pop ebp
ret