joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e8ad
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push 0x42d4cc
mov eax, dword [ebp + 0x10]
push eax
call fcn.004277f0
add esp, 8
test eax, eax
jne 0x41e8e0
cmp dword [0x431498], 0
jne 0x41e8de
push 0x42d4d0
call fcn.0041e810
add esp, 4
jmp 0x41e8f6
cmp dword [0x431498], 0
jne 0x41e8f6
push 0x42d4d4
call fcn.0041e810
add esp, 4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x60], 0
jmp 0x41e925
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
cmp eax, dword [0x431544]
jge 0x41ea36
mov ecx, dword [ebp - 0x58]
cmp dword [ecx*4 + 0x4314ec], 0xffffffff
jne 0x41e943
jmp 0x41e91c
mov edx, dword [ebp - 0x58]
add edx, 1
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0x42d4d8
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x43149c
push 0x1e
lea edx, [ebp - 0x30]
push edx
push 0x431548
push 0x42d4e4
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x43149c
push 0x1e
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0x42d4ec
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x43149c
push 0xffffffffffffffff
push 0x42d4f4
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
push edx
call sub.WINDCS32.dll_Ordinal_53_1
push eax
call sub.PROD32.DLL_Ordinal_1
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004277f0
add esp, 8
test eax, eax
je 0x41e9e2
cmp dword [ebp - 0x54], 0
jne 0x41ea06
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax*4 + 0x4314ec]
push ecx
push 0x401
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InsertMenuA]
jmp 0x41ea28
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [edx*4 + 0x4314ec]
push eax
push 0x400
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_InsertMenuA]
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
jmp 0x41e91c
mov esp, ebp
pop ebp
ret
Function at 0x41ea3a
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push edi
mov al, byte [0x43154c]
mov byte [ebp - 0x90], al
mov ecx, 0x20
xor eax, eax
lea edi, [ebp - 0x8f]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x94], 0
jmp 0x41ea83
mov ecx, dword [ebp - 0x94]
add ecx, 1
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
cmp edx, dword [0x431544]
jge 0x41eb1c
mov eax, dword [ebp + 0xc]
and eax, 0xffff
mov ecx, dword [ebp - 0x94]
xor edx, edx
mov dx, word [ecx*4 + 0x4314ec]
cmp eax, edx
jne 0x41eb17
mov eax, dword [ebp - 0x94]
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x42d4fc
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x43149c
push 0x81
lea eax, [ebp - 0x90]
push eax
push 0x431550
push 0x42d508
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
push 0
push 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x41eb1c
jmp 0x41ea74
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x420794
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4207b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00421c1f
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4207d5
test byte [esp + 8], 2
je 0x4207d5
mov dword [0x431594], 0xd
mov dword [0x431598], 5
jmp 0x4207b0
xor eax, eax
ret
Function at 0x423551
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42da78
cmp edx, dword [eax]
je 0x423573
add eax, 8
inc ecx
cmp eax, 0x42db08
jl 0x423564
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42da78]
jne 0x4236a1
mov eax, dword [0x431588]
cmp eax, 1
je 0x42367b
test eax, eax
jne 0x4235a4
cmp dword [0x42d568], 1
je 0x42367b
cmp edx, 0xfc
je 0x4236a1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4235db
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041ed50
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041efa0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42361e
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041efa0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4288f8
push edi
call fcn.0041eea0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041ed50
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041ed60
lea eax, [ebp - 0xa0]
push 0x4288d8
push eax
call fcn.0041ed60
push dword [esi + 0x42da7c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041ed60
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00425f59
add esp, 0x2c
pop edi
jmp 0x4236a1
lea eax, [ebp + 8]
lea esi, [esi + 0x42da7c]
push 0
push eax
push dword [esi]
call fcn.0041efa0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x4b2365
Capabilities:
Encode data using xor

Disassembly:
pop esp
pushfd
mov bh, 0x17
mov dl, 0xd
shr dword [esi], 0xb6
pop ebp
dec edx
xchg ecx, eax
mov edx, 0x2c2d481c
inc dword [ebp - 0x7dd4f86]
mov ecx, gs
or al, 0xd5
inc eax
je 0x4b231f
imul edi, dword [edi - 0x3c], 0x490d004c
or al, 0x73
and byte [ebp + 0x7cc6668e], dl
add byte [ecx - 3], cl
xor byte [esi - 0x544011b1], bl
add ecx, edi
cmpsd dword [esi], dword es:[edi]
adc esp, ecx
invalid

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x43eb65ba
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x67795127
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4b438e
Capabilities:
Encode data using xor

Disassembly:
out dx, eax
xor dword [eax - 0x41], eax
cmp eax, 0x207c3579
outsb dx, byte [esi]
and edi, dword [esi - 0xa]
inc eax
mov edi, 0x7c35793d
and byte [esi + 0x23], ch
jle 0x4b4354
aaa
mov dword [0xf53c090c], eax
jbe 0x4b4351
add edi, dword [ebx - 0x7efed94b]
fst qword [edx - 0x11]
sbb ch, ch
int 0xbd
cmpsd dword [esi], dword es:[edi]
jno 0x4b43f2
and al, 0x57
popfd
out 0x6a, eax
invalid
mov ebp, 0x6d823efe
mov bl, 0xcc
jbe 0x4b4353
push esi
stosd dword es:[edi], eax
and eax, 0x4a7070
sub eax, dword [ebp - 0x1d]
cmp dword [eax + ebp*2], edi
aas
pop esi
clc
invalid
invalid

Function at 0x61c34c
Capabilities:
Encode data using xor

Disassembly:
xchg ebx, eax
adc dword [eax], 0xffffffdf
jne 0x61c3c8
mov dh, 0xdd
mov edx, 0x7d69963
mov bl, 0x13
xor edi, 0xfffffff0
add esp, dword [ecx - 0x53]
rol byte [edi + 0x1e613664], 1
add al, byte [0xb8d299a3]
mov cl, 0xa3
je 0x61c3a7
fiadd word [eax - 0x31]
jbe 0x61c39a
sti
test bl, al
inc ecx
mov dh, 0xbd
inc edx
aad 0x80
push ebp
rol dword [ebx + 0x730506b8], 0xb5
push edi
cmp dword [eax - 0x4a8cfafa], 0x57
mov ch, 0x57
cdq
or esp, esi
or eax, 0x1c467dda
dec ebp
jge 0x61c436
sbb al, 0x4d
dec edi
lds esp, [ecx + 0x21]
xor esi, dword [edx]
pushal
js 0x61c3ee
pop ecx
push ds
push edi
out 0x60, al
mov esi, 0x75a0d02a
loop 0x61c3ad
and dword [ebx - 0x797faed2], eax
mov dword [0x3c6bc971], eax
add byte [esi + 0x6bc971a3], 0x3c
out 0xf1, al
sub eax, 0xc9e254eb
xchg dword [esi - 0x20], ebp
std
adc eax, 0xed016675
add byte [ebx], 0xd9
jecxz 0x61c3e2
das
aad 0x55
cmpsb byte [esi], byte es:[edi]
inc edx
scasb al, byte es:[edi]
loop 0x61c3ce
xchg ebx, eax
loopne 0x61c420
jmp 0xed229bf9
mov esi, 0x23ecc0d7
lds edi, [eax]
lea esi, [0x812e7918]
nop
lodsd eax, dword [esi]
js 0x61c3e7
pop ds
xchg esp, eax
jle 0x61c479
sbb byte [eax - 0x23ee8826], dl
movsd dword es:[edi], dword [esi]
rcl word [edi + 0x60]
inc ebx
push 0xfffffffffffffff7
out dx, eax
mov al, 0x82
invalid
stc
jnp 0x61c40e
invalid

Function at 0x62c20e
Capabilities:
Encode data using xor

Disassembly:
adc ah, byte [ecx - 0x6df48258]
xlatb
push ebp
aam 0x3e
mov edi, 0x37776330
nop
cdq
cmp edi, dword [eax - 0x2e]
invalid
Function at 0x40993f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x409997
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x409997
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x409997
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x4099c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x409a2e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x409a25
cmp dword [ebp - 0xc], 4
jne 0x409a25
cmp dword [ebp - 0x10], edi
je 0x409a25
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x58cac0], edi
xor eax, eax
jmp 0x409a56
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x58cac0], edi
jge 0x409a51
mov dword [0x58cac0], edi
call fcn.0040999b
test eax, eax
je 0x409a51
emms
mov dword [0x58cac0], 1
mov eax, dword [0x58cac0]
pop edi
leave
ret

Function at 0x409b36
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x409b6d
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x409b8f
cmp dword [ebp - 0x20], 4
ja 0x409b99
jne 0x409b89
cmp dword [ebp - 0x1c], 0xa
jb 0x409b89
cmp word [ebp - 0x18], 0x55d
jae 0x409b99
mov byte [ebp + 0x73], 1
jmp 0x409b99
cmp dword [ebp - 0x14], 2
jne 0x409baf
test bl, bl
je 0x409bca
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x409bba
dec eax
je 0x409bb3
sub eax, 3
jne 0x409baf
cmp byte [ebp + 0x73], 0
je 0x409bdb
xor eax, eax
jmp 0x409be3
call fcn.00409a59
jmp 0x409be3
cmp byte [ebp + 0x73], 0
jne 0x409baf
call fcn.00409a91
and eax, 4
jmp 0x409be3
cmp dword [ebp + 0x7c], 0xa
je 0x409bdb
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x409be3
call fcn.00409a91
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x40cd85
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x98
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0x78], esi
push edi
mov edi, ecx
jne 0x40cda6
mov eax, 0x8876086c
jmp 0x40ce88
cmp dword [ebp + 0x7c], esi
je 0x40ce20
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x18], 2
je 0x40ce00
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 0x78]
push esi
push esi
call ebx
mov dword [ebp + 0x6c], eax
add eax, 3
and eax, 0xfffffffc
call fcn.004b66e0
mov dword [ebp + 0x7c], esp
push esi
push esi
push dword [ebp + 0x6c]
push dword [ebp + 0x7c]
push 0xffffffffffffffff
push dword [ebp + 0x78]
push esi
push esi
call ebx
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x7c], esi
cmp dword [ebp + 0x7c], esi
je 0x40ce20
push esi
push 0x10000000
push 3
push esi
push 1
push accept
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x40ce39
push esi
push 0x10000000
push 3
push esi
push 1
push accept
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x40ce79
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x40ce79
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [edi + 8], eax
je 0x40ce79
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi + 0xc], eax
jne 0x40ce86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x40ce88
xor eax, eax
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8
Function at 0x431199
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4311a7
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x43127b
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x55bb20]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x55bb20]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x55bb20]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x55bb20]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x55bb20]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x55bb20]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x55bb20]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x55bb20]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x4311c4
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x43129b
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x55bb20]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x431281
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x43ced0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x43cef8
xor al, al
jmp 0x43cf3a
mov ecx, 1
imul edx, ecx, 0
add edx, dword [ebp + 8]
push edx
push 0x20
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x43cf24
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x43cf3a
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
jne 0x43cf38
xor al, al
jmp 0x43cf3a
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x443160
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x579010]
xor ecx, ecx
mov edx, 4
mov dword [ebp - 4], 0
mul edx
push esi
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b631b
mov ecx, dword [0x579010]
shl ecx, 2
push ecx
push 0
push eax
mov dword [0x592710], eax
call fcn.004dd200
xor esi, esi
add esp, 0x10
cmp dword [0x579010], esi
jle 0x4431e5
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4435f0
push 0x10000
push 0
call edi
mov ecx, dword [0x592710]
mov dword [ecx + esi*4], eax
mov eax, dword [0x592710]
cmp dword [eax + esi*4], 0
je 0x4431ed
inc esi
cmp esi, dword [0x579010]
jl 0x4431b2
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x28], 0
jg 0x44353c
push ebx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
sub eax, 2
je 0x4434c9
sub eax, 1
je 0x443480
sub eax, 1
jne 0x44353a
mov ecx, dword [esi + 0x10]
push dword [edi + 0x1c]
push dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test al, al
jne 0x443533
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 0x10]
push 0
push dword [edi + 0x1c]
mov eax, dword [ecx]
push dword [esi + 4]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x44349f
push dword [edi + 0x1c]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, esi
call fcn.00443ce0
test al, al
jne 0x44353a
push str.HandleGoodIoCompletions__:_setup_new_accept_failed
call fcn.00444440
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 8]
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
mov ebx, dword [ebp + 0x14]
nop dword [eax]
push 0
push ebx
push dword [ebp + 0x10]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, 0xffffffff
je 0x44351f
test edi, edi
je 0x443507
push edi
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00443810
cmp edi, ebx
je 0x4434d0
mov ecx, esi
call fcn.004439a0
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x44353a
mov eax, dword [ecx]
push 0
push dword [esi + 4]
call dword [eax + 0xc]
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.HandleGoodIoCompletions__:_recv_failed:_error_code:__d
call fcn.00444440
add esp, 8
mov ecx, esi
call fcn.004439a0
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x4439a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push ebx
push 0x57902c
call esi
push 0x57902c
call esi
mov eax, dword [0x579018]
cmp eax, dword [0x57901c]
push 0x57902c
sete bl
call edi
test bl, bl
je 0x443a11
push 0x57902c
call edi
push 0x3e8
call fcn.00443200
add esp, 4
jmp 0x4439d4
mov ecx, dword [0x57901c]
mov eax, dword [0x579014]
pop ebx
mov esi, dword [eax + ecx*4]
inc ecx
mov dword [0x57901c], ecx
cmp ecx, dword [0x579024]
jl 0x443a39
mov eax, dword [0x579020]
mov dword [0x57901c], eax
push 0x57902c
call edi
push dword [esi + 0x20]
call fcn.004b6324
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], 2
mov dword [esi + 0x14], ecx
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
test ecx, ecx
je 0x443a85
mov eax, dword [ecx + 4]
mov dword [esi + 0x28], eax
push 0
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x443b0a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x443b0a
push eax
push str.RegisterRecv__:_registration_failed:_error_code:__d
call fcn.00444440
push dword [esi + 0x20]
call fcn.004b6324
add esp, 0xc
mov dword [esi + 0x20], 0
mov ecx, 0x579014
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
push esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.00443910
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x443b60
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
call fcn.004b631b
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
mov dword [ebp - 0x10], esi
call fcn.004dcc80
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [eax + eax]
push 0x57902c
call edi
push 0x57902c
call edi
mov eax, dword [0x579018]
cmp eax, dword [0x57901c]
push 0x57902c
sete bl
call esi
test bl, bl
je 0x443bdd
push 0x57902c
call esi
push 0x3e8
call fcn.00443200
add esp, 4
jmp 0x443ba0
mov ecx, dword [0x57901c]
mov eax, dword [0x579014]
mov ebx, dword [eax + ecx*4]
inc ecx
mov dword [0x57901c], ecx
cmp ecx, dword [0x579024]
jl 0x443c04
mov eax, dword [0x579020]
mov dword [0x57901c], eax
push 0x57902c
call esi
push dword [ebx + 0x20]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
call fcn.004b6324
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], 0
test ecx, ecx
je 0x443c4e
mov eax, dword [ecx + 4]
mov dword [ebx + 0x28], eax
push 0
push ebx
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x443cca
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x443cca
push dword [ebx + 0x20]
call fcn.004b6324
add esp, 4
mov dword [ebx + 0x20], 0
mov ecx, 0x579014
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
push ebx
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
call fcn.00443910
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8