joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4107f0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x5d18a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
mov ecx, dword [0x648fc4]
push 3
lea eax, [esp + 0x18]
push eax
add ecx, 0x3c
call fcn.00404d30
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
mov dword [esp + 0x4c], 0
mov ebx, dword [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x410938
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push 0
push 0x64
push esi
push edi
call fcn.004fba20
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.00500a50
shrd edi, esi, 0x14
mov dword [ebp + 0xf8], eax
shr esi, 0x14
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4108a5
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
push 0x5f0
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x4c], 1
call fcn.00422af0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 2
call fcn.00404f90
mov byte [esp + 0x44], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4108fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
push ebx
push str._n_n_s_n_n_d_M
add ebp, 0xfc
push ebp
call fcn.004057d0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410938
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x44], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41095c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4
Function at 0x411840
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x648fc4]
cmp byte [eax + 0xfc], 0
je 0x411873
cmp dword [0x648fac], 0
jbe 0x411873
push 0
push 0
push 0
push 0x4516c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret 8
Function at 0x421cc0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebp
xor ebp, ebp
cmp edi, ebp
je 0x421d39
cmp byte [edi], 0
je 0x421d39
cmp esi, ebp
je 0x421d39
push ebx
push esi
mov dword [esp + 0xc], ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x14]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push ebp
push 2
push ebp
push ebp
push ebp
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x421d22
add ebx, 1
push ebx
push esi
push 1
push eax
mov eax, dword [esp + 0x18]
push 0x605167
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x421d22
mov ebp, 1
mov eax, dword [esp + 8]
test eax, eax
pop ebx
je 0x421d32
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop ebp
add esp, 8
ret
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebp
add esp, 8
ret

Function at 0x421d50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x150
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0x14c], eax
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
lea ecx, [esp + 0xc]
push ecx
push str..rec
push bind
mov dword [esp + 0x14], 0x41
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x421da5
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.004f2719
add esp, 0x150
ret
cmp byte [esp + 8], 0
je 0x421d8d
lea eax, [esp + 8]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x421db3
mov edx, dword [str.DefaultIcon]
mov ecx, dword [0x60733c]
mov dword [eax], edx
mov edx, dword [0x607340]
mov dword [eax + 4], ecx
mov cl, byte [0x607344]
mov dword [eax + 8], edx
lea edx, [esp + 0x4c]
mov byte [eax + 0xc], cl
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x421de8
lea eax, [esp + 0x4c]
add eax, 0xffffffff
jmp 0x421e00
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x421e00
mov edx, dword [str.____0]
mov cx, word [0x60734c]
mov dword [eax], edx
push 0x105
lea edx, [esp + 0x50]
push edx
mov word [eax + 4], cx
push 1
lea eax, [esp + 0x14]
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 0
mov esi, eax
push 0
neg esi
push 0x2000
sbb esi, esi
push 0x8000000
add esi, 1
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [esp + 0x150]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004f2719
add esp, 0x150
ret
Function at 0x4296f0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0x10c], eax
push 0
push 0x605167
mov ecx, esi
call fcn.004052d0
lea eax, [esp]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
mov dword [esp + 0x10], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push str.ProcessorNameString
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
push eax
push 0x604eec
push esi
call fcn.004057d0
mov ecx, dword [esp + 0x118]
add esp, 0xc
xor ecx, esp
xor eax, eax
call fcn.004f2719
add esp, 0x110
ret

Function at 0x429790
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x5d00d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0
push 0x605167
mov ecx, esi
call fcn.004052d0
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4297dc
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
push ecx
mov dword [esp + 0x14], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x24]
shr edx, 0x14
push edx
push 0x6050c4
push esi
call fcn.004057d0
add esp, 0xc
push 2
push 0x608824
mov ecx, esi
call fcn.0041cc20
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42984f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret
Function at 0x429870
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x5d00d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0
push 0x605167
mov ecx, esi
call fcn.004052d0
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4298bc
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
push ecx
mov dword [esp + 0x14], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x18]
shr edx, 0x14
push edx
push 0x6050c4
push esi
call fcn.004057d0
add esp, 0xc
push 2
push 0x608824
mov ecx, esi
call fcn.0041cc20
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42992f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret
Function at 0x433010
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ced5b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
call fcn.004d4991
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x433072
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x202
mov dword [esp + 0x2c8], edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, edi
je 0x4330e3
mov ebx, dword [ebx + 0x298]
push 0x609d44
push ebx
call fcn.004f4e25
mov dword [esp + 0x2c8], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4330dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x4331f8
push 0x100
lea ecx, [esp + 0x1b0]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x43309d
lea ecx, [esp + 0x1ac]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, edi
je 0x4331c5
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [esp + 0x18]
push 0x604eec
push edx
call fcn.004057d0
mov eax, dword [ebx + 0x2a4]
add esp, 0xc
add ebx, 0x29c
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebx
call fcn.004dc847
lea ecx, [esp + 0x14]
call fcn.00405270
movsx edx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
add edx, dword [eax]
cmp edx, dword [esi]
jae 0x4331b1
mov eax, dword [eax + edi*4 + 4]
mov ecx, dword [eax]
add edi, 1
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [esp + 0x18]
push 0x604eec
push edx
call fcn.004057d0
mov eax, dword [ebx + 8]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebx
call fcn.004dc847
lea ecx, [esp + 0x14]
call fcn.00405270
movsx edx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
add edx, dword [eax + edi*4]
cmp edx, dword [esi]
jb 0x433163
test edi, edi
jne 0x4331c5
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
add ecx, 0x298
push eax
call fcn.00404f90
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [esp + 0x2c0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4331f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.004f2719
mov esp, ebp
pop ebp
ret
Function at 0x43c780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cc388
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.004df3e8
push eax
lea ecx, [esp + 0x30]
call fcn.004dc0b8
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.004df3e8
mov ecx, eax
call fcn.004dbd6b
cmp dword [esi + 0x130], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x43c8a1
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x12c]
call fcn.004dc025
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x13c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.004dc2ec
test edi, edi
je 0x43c85b
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x130]
push edi
push eax
call fcn.004dc371
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x144], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x130]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x12c]
test edx, edx
je 0x43c8be
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004dc10c
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x43da20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5cdc53
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.004dbb17
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov byte [esp + 0x24], 1
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x43daeb
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.004dc025
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.004dc2ec
test ebp, ebp
je 0x43dac9
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.004dc371
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004dbc2b
jmp 0x43dafd
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4

Function at 0x441d10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5cc358
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push esi
lea ecx, [esp + 0x18]
call fcn.004dc0b8
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004db889
mov ecx, dword [esi + 0x54]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x140]
call edx
push eax
lea ecx, [esp + 0x18]
call fcn.004dc3c4
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [edi], ecx
mov dword [edi + 4], edx
test byte [esi + 0x64], 4
je 0x441d98
add dword [edi], 0xe
push ebx
lea ecx, [esp + 0x18]
call fcn.004db8ba
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.004dc10c
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x2c
ret 8
Function at 0x44f610
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5d677b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [0x648fc4]
push esi
call fcn.00452000
cmp byte [edi + 0xfc], 0
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x44f674
cmp dword [0x648fac], 0
jbe 0x44f674
push 0
push 0
push 0
push 0x4516c0
push 0
push 0
call ebp
push eax
call ebx
mov eax, dword [0x648fac]
xor ecx, ecx
add eax, 2
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d3cbb
add esp, 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0
call fcn.00448330
mov edi, eax
lea eax, [edi + 0x10]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x18
call fcn.004d3c8b
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x20], 0
je 0x44f6db
mov ecx, dword [edi + 8]
push eax
call fcn.00447d80
mov edi, eax
jmp 0x44f6dd
xor edi, edi
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
test al, al
je 0x44f747
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
push eax
mov dword [esp + 0x14], eax
call fcn.004f395a
add esp, 4
push eax
mov ecx, 0x62ca5c
call fcn.004f35a2
test al, al
je 0x44f731
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xde8], 0
je 0x44f731
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [edx + ecx*4], eax
add dword [esi + 0x10], 1
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
test al, al
jne 0x44f6f2
mov eax, edi
call fcn.00447e10
push edi
call fcn.004d3cb6
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0
push esi
push 0x450d30
push 0
push 0
call ebp
push eax
call ebx
push 0
push 0
push esi
push 0x4512c0
push 0
push 0
call ebp
push eax
call ebx
push 0
push 0
push esi
push 0x4502e0
push 0
push 0
call ebp
push eax
call ebx
push 0
push 0
push esi
push 0x453970
push 0
push 0
call ebp
push eax
call ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x44f7d0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x38]
sub esp, 8
push ebx
push ebp
push edi
mov edi, dword [0x648fc4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp byte [edi + 0x162], 0
je 0x44f7f8
call fcn.00451d10
mov edx, dword [esi]
mov ebp, dword [sym.imp.WS2_32.dll_closesocket]
push edx
call ebp
mov eax, dword [esi + 0x848c]
or edi, 0xffffffff
push eax
mov dword [esi], edi
call fcn.004ab810
mov ecx, dword [esi + 4]
add esp, 4
push ecx
mov dword [esi + 0x848c], edi
call ebp
mov edx, dword [esi + 8]
push edx
mov dword [esi + 4], edi
call ebp
lea ebx, [esi + 0x2e8]
push ebx
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0xe8]
mov dword [esp + 0x10], 0x80
lea ebx, [ebx]
cmp dword [edi], 0
je 0x44f86d
mov eax, dword [edi]
mov byte [eax + 0xb7983c], 1
mov ecx, dword [edi]
mov edx, dword [ecx]
push edx
call ebp
mov eax, dword [edi]
mov dword [eax], 0xffffffff
add edi, 4
sub dword [esp + 0x10], 1
jne 0x44f850
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ebx, [esi + 0x504]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0x304]
mov dword [esp + 0x10], 0x80
lea esp, [esp]
cmp dword [edi], 0
je 0x44f8ba
mov ecx, dword [edi]
mov byte [ecx + 0x1c], 1
mov edx, dword [edi]
mov eax, dword [edx]
push eax
call ebp
mov ecx, dword [edi]
mov dword [ecx], 0xffffffff
add edi, 4
sub dword [esp + 0x10], 1
jne 0x44f8a0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ebx, [esi + 0xcc]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0x4c]
mov dword [esp + 0x10], 0x20
mov eax, dword [edi]
test eax, eax
je 0x44f90f
mov edx, dword [eax + 0x28]
push edx
call fcn.004ab810
mov eax, dword [edi]
mov dword [eax + 0x28], 0xffffffff
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
add esp, 4
push edx
call ebp
mov eax, dword [edi]
mov dword [eax + 4], 0xffffffff
add edi, 4
sub dword [esp + 0x10], 1
jne 0x44f8e3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call ebx
mov ecx, dword [esi + 0xc]
push ecx
call ebp
lea edi, [esi + 0x530]
push edi
mov dword [esi + 0xc], 0xffffffff
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x520]
test eax, eax
mov ecx, 1
je 0x44f94e
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x524]
test eax, eax
je 0x44f95b
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x528]
test eax, eax
je 0x44f968
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x52c]
test eax, eax
je 0x44f975
mov dword [eax + 4], ecx
push edi
call ebx
mov edx, dword [esi + 0x8488]
push edx
call ebp
push 0x64
mov dword [esi + 0x8488], 0xffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop ebp
pop ebx
add esp, 8
ret