joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fd828
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4fd860
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004fb8b5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004fb88d
jmp 0x4fd86c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4fef1d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4fef5f
call fcn.00504cd6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
cmp eax, edi
je 0x4fef5f
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
cmp eax, edi
jne 0x4fef56
xor eax, eax
jmp 0x4fef67
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004fef6d
pop edi
pop esi
pop ebx
ret 4

Function at 0x505206
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x505234
push dword [esi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x505252
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0050516c
jmp 0x505252
mov eax, dword [esi + 0x14]
test eax, eax
je 0x505252
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0050516c
test edi, edi
mov eax, edi
jne 0x50523c
pop edi
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404410
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret
Function at 0x4259e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6ac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push 0x4d25e8
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x425af3
mov dword [ebp - 0x1c], 0
call fcn.004ba5ee
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
call dword [edx + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x18]
call fcn.0041beb0
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0041bf10
cmp dword [ebp - 0x14], 0
je 0x425a9f
jmp 0x425ada
push 0x4d25c8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00401850
add esp, 0xc
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x20]
call fcn.0044f730
jmp 0x425a69
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044f730
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x2180], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x426b5f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call fcn.0043e3e0
mov dword [0x4fe0b0], eax
call fcn.0043e2c0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
div dword [ebp - 4]
mov dword [ebp + 8], eax
push edx
push edi
call fcn.00426aa0
or edx, 0x1f
add edx, dword [esp + 0x18]
lea edx, [esp + 0x14]
lea edx, [edx - 0x18]
mov edx, dword [edx]
lea edx, [edx + eax - 0x25493]
sub edx, eax
xor edi, dword [esp + 0x28]
sbb edi, 9
mov edi, dword [edx]
and edi, 0xff
sbb edx, 0x41
mov edx, 0x42c37a
lea edx, [ebp + esi + 0x5e]
lea edx, [edx + edi - 0x5e]
sub edx, edi
lea edx, [ecx + 0x2953040e]
sub edx, ecx
lea edi, [edi + ecx - 0x295304f6]
sub edi, ecx
add edi, edx
xor edi, edi
je 0x426aaa
or ebp, ebp
rol esi, 0xbf
add esi, dword [esp + 0x18]
lea edi, [edi + eax*2 + 0x29]
lea edi, [edi + ebx - 0x29]
sub edi, ebx
push dword [esp + 0x14]
jmp 0x426aaa
pop edi
pop edx
jmp 0x426b36
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 6
jb 0x426b5a
cmp dword [ebp - 0xc], 7
jbe 0x426b4a
jmp 0x426b5a
mov ecx, dword [ebp - 8]
call fcn.00430290
mov ecx, dword [ebp - 8]
call fcn.00421470
jmp 0x426bb7
sbb ecx, 0xfed46220
pop ebx
lea ebx, [ebx + ecx + 0x19]
sub ebx, ecx
and ecx, 0xb4a48582
push ebx
ror ecx, 0x51
xor ecx, dword [esp + 0x28]
pop ecx
lea ebx, [ebx + ecx + 0x14d]
sub ebx, ecx
sub esi, dword [ecx]
lea ecx, [ecx + eax + 3]
sub ecx, eax
cmp ecx, ebx
jb 0x426b87
pop ecx
cmp esi, 0x20040801
pop ebx
pop esi
jne 0x426a09
push 0x40c6de
push 0x24283e4
lea ebp, [esi + 0x41]
sub ebp, 0x41
jmp 0x426bea
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x42ffc0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c71b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x18], 0
call fcn.004ba5ee
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
call dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x10
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041beb0
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0041bf10
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00402570
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0044f730
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x430fb0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov dword [ebp - 0x80], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.004310e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 3
push 1
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004318c0
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
push 0x4d2938
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0049e21b
add esp, 8
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x35], al
lea ecx, [ebp - 0x3c]
call fcn.0044f730
movzx edx, byte [ebp - 0x35]
test edx, edx
je 0x431065
mov eax, 0x4d2938
test eax, eax
jne 0x431044
mov dword [ebp - 0x50], 0
jmp 0x431054
push 0x4d2938
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
push 0x4d2938
lea ecx, [ebp - 0x10]
call fcn.00401ba0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x68], eax
push 0
mov ecx, dword [ebp - 0x68]
sub ecx, 1
push ecx
lea ecx, [ebp - 0x10]
call fcn.00431a00
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0x14
mov dword [ebp - 0x1a], 0
mov dword [ebp - 0x16], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x34], eax
xor ecx, ecx
cmp dword [ebp - 0x34], 0
sete cl
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044f730
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x438210
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c799f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
mov dword [eax], 0x4cfadc
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 4], 1
push 0x10
push 0
mov edx, dword [ebp - 0x74]
add edx, 8
push edx
call fcn.0049db40
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x74]
mov dword [eax], 0x4d4874
push 0x4cd9d4
mov ecx, dword [ebp - 0x74]
add ecx, 0x18
call fcn.00401e40
mov byte [ebp - 4], 1
push 0x4cd9d4
mov ecx, dword [ebp - 0x74]
add ecx, 0x1c
call fcn.00401e40
mov byte [ebp - 4], 2
push 0x4cd9d4
mov ecx, dword [ebp - 0x74]
add ecx, 0x20
call fcn.00401e40
mov byte [ebp - 4], 3
push 0x4cd9d4
mov ecx, dword [ebp - 0x74]
add ecx, 0x24
call fcn.00401e40
mov byte [ebp - 4], 4
push 0x4cd9d4
mov ecx, dword [ebp - 0x74]
add ecx, 0x28
call fcn.00401e40
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x74]
mov byte [ecx + 0x2c], 0
mov edx, dword [ebp - 0x74]
mov byte [edx + 0x2d], 0
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x74]
mov byte [edx + 0x38], 0xff
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x40], edx
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x4c], 0
push 0x4fca00
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [0x4fcd2c], 0x17
push 0x4d485c
mov ecx, 0x4fca00
call fcn.004032f0
push 0x4d4828
push 0x4fca00
call fcn.00403640
add esp, 8
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x40]
push ecx
push 0x4d4808
mov edx, dword [ebp - 0x74]
add edx, 0x18
push edx
call fcn.00419400
add esp, 0xc
mov ecx, dword [ebp - 0x74]
call fcn.00438630
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x43cab0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x43dd20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4fb770]
mov dword [ebp - 0x18], eax
push esi
push edi
mov dword [ebp - 0x228], ecx
mov eax, dword [ebp - 0x228]
mov word [eax + 0x3e], 0x4e4
cmp dword [ebp - 0x228], 0
je 0x43dd5f
mov ecx, dword [ebp - 0x228]
add ecx, 4
mov dword [ebp - 0x22c], ecx
jmp 0x43dd69
mov dword [ebp - 0x22c], 0
push 0x34
push 0
mov edx, dword [ebp - 0x22c]
push edx
call fcn.0049db40
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43dd9c
cmp dword [ebp + 8], 0
je 0x43dd9c
xor eax, eax
jmp 0x43deca
push 0x104
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
ja 0x43ddc2
xor eax, eax
jmp 0x43deca
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x220]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
ja 0x43dde2
xor eax, eax
jmp 0x43deca
mov edx, dword [ebp - 0xc]
push edx
call fcn.004ba5ca
add esp, 4
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x224]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
lea edx, [ebp - 0x220]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x43de2a
xor eax, eax
jmp 0x43deca
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x4d2938
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x38]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x43de4e
xor eax, eax
jmp 0x43deca
cmp dword [ebp - 0x228], 0
je 0x43de68
mov ecx, dword [ebp - 0x228]
add ecx, 4
mov dword [ebp - 0x230], ecx
jmp 0x43de72
mov dword [ebp - 0x230], 0
mov esi, dword [ebp - 4]
mov ecx, 0xd
mov edi, dword [ebp - 0x230]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 4]
push eax
push 0x4d511c
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x38]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43deb6
cmp dword [ebp - 0x10], 4
jb 0x43deb6
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x228]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 0x228]
xor ecx, ecx
cmp dword [eax + 4], 0xfeef04bd
sete cl
mov eax, ecx
mov ecx, dword [ebp - 0x18]
call fcn.0049d184
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x440070
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x60], ecx
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x60]
cmp dword [edx + 4], 0xffffffff
jne 0x4400db
push 0x4cd9d4
lea ecx, [ebp - 0x10]
call fcn.00401e40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 7
push 0
call fcn.0043fc00
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044f730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x440440
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 4]
push eax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x4404aa
push 0x4cd9d4
lea ecx, [ebp - 0x10]
call fcn.00401e40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
push 7
push 0
call fcn.0043fc00
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044f730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4404c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x60], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 4]
push eax
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
jne 0x44052c
push 0x4cd9d4
lea ecx, [ebp - 0x10]
call fcn.00401e40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
push 7
push 0
call fcn.0043fc00
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044f730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov dword [ebp - 0x64], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
push eax
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4405b0
push 0x4cd9d4
lea ecx, [ebp - 0x14]
call fcn.00401e40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
push 7
push 0
call fcn.0043fc00
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0044f730
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x440600
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7e4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
mov dword [ebp - 0x178], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 0x3e8
div ecx
imul edx, edx, 0x3e8
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 0x40
jae 0x440686
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 4]
mov dword [ebp + edx*4 - 0x118], ecx
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
xor eax, eax
jne 0x440658
lea ecx, [ebp - 0x124]
push ecx
push 0
push 0
lea edx, [ebp - 0x11c]
push edx
push 0
call sub.WSOCK32.dll_select
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4406e8
push 0x4cd9d4
lea ecx, [ebp - 0x128]
call fcn.00401e40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x128]
push eax
push 7
push 0
call fcn.0043fc00
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.0044f730
xor eax, eax
cmp dword [ebp - 0x10], 0
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x448cb0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x4fb770]
mov dword [ebp - 4], eax
mov dword [ebp - 0x160], ecx
cmp dword [ebp + 0x14], 0x40
jle 0x448d19
lea eax, [ebp - 0x158]
push eax
call fcn.0043cab0
add esp, 4
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.0043caf0
add esp, 0xc
lea ecx, [ebp - 0x158]
push ecx
lea edx, [ebp - 0xa8]
push edx
call fcn.0043cbf0
add esp, 8
lea eax, [ebp - 0xa8]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], 0x10
push 0x40
push 0
lea ecx, [ebp - 0x98]
push ecx
call fcn.0049db40
add esp, 0xc
push 0x40
push 0
lea edx, [ebp - 0x50]
push edx
call fcn.0049db40
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.0049ce00
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.0049ce00
add esp, 0xc
mov dword [ebp - 0x15c], 0
jmp 0x448d82
mov eax, dword [ebp - 0x15c]
add eax, 1
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0x40
jge 0x448dc3
mov ecx, dword [ebp - 0x15c]
movzx edx, byte [ebp + ecx - 0x98]
xor edx, 0x36
mov eax, dword [ebp - 0x15c]
mov byte [ebp + eax - 0x98], dl
mov ecx, dword [ebp - 0x15c]
movzx edx, byte [ebp + ecx - 0x50]
xor edx, 0x5c
mov eax, dword [ebp - 0x15c]
mov byte [ebp + eax - 0x50], dl
jmp 0x448d73
lea ecx, [ebp - 0x100]
push ecx
call fcn.0043cab0
add esp, 4
push 0x40
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.0043caf0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.0043caf0
add esp, 0xc
lea ecx, [ebp - 0x100]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.0043cbf0
add esp, 8
lea eax, [ebp - 0x100]
push eax
call fcn.0043cab0
add esp, 4
push 0x40
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.0043caf0
add esp, 0xc
push 0x10
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.0043caf0
add esp, 0xc
lea edx, [ebp - 0x100]
push edx
mov eax, dword [ebp + 0x18]
push eax
call fcn.0043cbf0
add esp, 8
mov ecx, dword [ebp - 4]
call fcn.0049d184
mov esp, ebp
pop ebp
ret 0x14
Function at 0x44f330
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
add eax, 0x130
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
sub edx, 0x10
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
sub eax, 0x104
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
or ecx, dword [ebp - 8]
jge 0x44f380
push 0x104
mov ecx, dword [ebp - 0x14]
call fcn.004024d0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x64]
add ecx, 0x130
call fcn.0041bf10
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x130]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x44f3fb
mov edx, dword [ebp - 0x64]
add edx, 0x130
mov dword [ebp - 0x38], edx
mov eax, 0x4d6b00
test eax, eax
jne 0x44f3da
mov dword [ebp - 0x20], 0
jmp 0x44f3ea
push 0x4d6b00
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x4d6b00
mov ecx, dword [ebp - 0x38]
call fcn.004023c0
mov edx, dword [ebp - 0x64]
add edx, 0x130
mov dword [ebp - 0x58], edx
mov eax, 0x4d6ae4
test eax, eax
jne 0x44f419
mov dword [ebp - 0x3c], 0
jmp 0x44f429
push 0x4d6ae4
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
push 0x4d6ae4
mov ecx, dword [ebp - 0x58]
call fcn.00401ba0
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x130]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44f46c
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x130]
mov dword [ebp - 0x60], eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x44f480
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x130]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
jne 0x44f4a5
xor eax, eax
jmp 0x44f5a4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 3
push 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 0x130
call fcn.004318c0
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
push 0x4d2938
mov eax, dword [ebp - 0x34]
push eax
call fcn.0049e21b
add esp, 8
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x25], al
lea ecx, [ebp - 0x2c]
call fcn.0044f730
movzx ecx, byte [ebp - 0x25]
test ecx, ecx
je 0x44f53b
mov edx, dword [ebp - 0x78]
add edx, 0x130
mov dword [ebp - 0x5c], edx
mov eax, 0x4d2938
test eax, eax
jne 0x44f51a
mov dword [ebp - 0x40], 0
jmp 0x44f52a
push 0x4d2938
call fcn.0049d13d
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
push 0x4d2938
mov ecx, dword [ebp - 0x5c]
call fcn.00401ba0
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x130]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x60], ecx
push 0
mov edx, dword [ebp - 0x60]
sub edx, 1
push edx
mov ecx, dword [ebp - 0x78]
add ecx, 0x130
call fcn.00431a00
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x130]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0
mov word [ebp - 0x10], 0x14
mov dword [ebp - 0xa], 0
mov dword [ebp - 6], 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x24], eax
xor eax, eax
cmp dword [ebp - 0x24], 0
sete al
mov esp, ebp
pop ebp
ret