joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420bfa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x420cb8
cmp dword [esi + 0x20], 0
je 0x420cb8
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x420cb8
cmp dword [ebp + 8], 0
je 0x420cb8
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0041d4e7
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x420c89
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x420cb8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004befa8
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x420ca9
test edi, edi
je 0x420ca9
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x420cb4
mov ecx, esi
call fcn.0042099c
mov eax, ebx
jmp 0x420cba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x425659
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x575215
call fcn.0054ba4a
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x42567f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4256df
call fcn.004195e2
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f50
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x583a08]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00556879
push eax
call fcn.00406eae
add esp, 0x14
test esi, esi
je 0x4256d2
push esi
call fcn.00555ae0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402050
mov eax, ebx
call fcn.0054ba13
ret 8
Function at 0x43a4ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x43a509
call fcn.0041d4e7
mov esi, dword [eax + 0xc]
push 0x589310
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x43a55f
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43a55f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x43a53e
xor esi, esi
jmp 0x43a554
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0043a568
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x43a561
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4c09e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x4c0a37
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4c0a10
call fcn.0041a121
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4c0a25
call fcn.0041a121
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4c0a37
call fcn.0041a121
call fcn.0041d4e7
cmp dword [eax + 0x3c], 0
je 0x4c0a4c
push edi
mov ecx, ebx
call fcn.004c0111
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004c0c1e
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4c0a75
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4c0a81
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x5116f5
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00546c03
call fcn.0041d53b
cmp dword [eax + 0x14], 0
jne 0x511710
mov ecx, esi
pop esi
jmp fcn.00510a20
pop esi
ret
Function at 0x51183f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.00425236
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.00511a58
cmp esi, 3
je 0x51187d
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x5118c6
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x5118a0
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0041dd9e
jmp 0x5118b1
push 0xff
mov ecx, esi
call fcn.004021a0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041553e
jmp 0x5118ea
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x5118ea
push dword [esi]
push dword [ebp - 4]
call fcn.00427f69
pop edi
pop esi
leave
ret 0xc

Function at 0x5119af
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00511a58
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x5119f7
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041dd9e
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041553e
jmp 0x511a02
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00427f69
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x511f64
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0055ded3
pop ecx
test eax, eax
jne 0x511fa6
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004157a0
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x511f6c
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret

Function at 0x544669
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00401e30
call fcn.0041d53b
cmp dword [eax + 0x14], 0
jne 0x544684
mov ecx, esi
pop esi
jmp fcn.00543ee5
pop esi
ret

Function at 0x563e5c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00563cd2
Function at 0x426c40
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x254
mov esi, dword [ebp + 8]
mov eax, dword [0x43300c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x426cac
lea ecx, [ebp - 0x258]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x426cde
lea eax, [ebp - 0x22c]
push 0x105
push eax
push 0x43479c
call fcn.0040d26d
add esp, 0xc
mov esi, 0x43479c
mov word [0x4349a4], 0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040dac1
mov eax, esi
add esp, 0x254
pop esi
pop ebp
ret
lea eax, [esi + 4]
lea ecx, [ebp - 0x258]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x426c70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.0040d386
cmp esi, 2
jne 0x426cf8
mov dword [eax], 2
jmp 0x426cfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x12
je 0x426c97
call fcn.0040d386
mov dword [eax], 2
jmp 0x426c97
mov dword [eax], 9
xor esi, esi
jmp 0x426c97

Function at 0x4c7000
Capabilities:
Encode data using xor

Disassembly:
push eax
push ecx
push edx
push ebx
push ebp
push esi
push edi
call 0x4c700c
pop eax
sub eax, 0x8ca0c
push 0
pop edi
push eax
xor dword [eax + 0x22c], 0x66a7218
xor dword [eax + 0x33c], 0xbc146b8
sub dword [eax + 0x280], 0x70774a66
add dword [eax + 0x3e0], 0x23cb18d4
not dword [eax + 0x80]
not dword [eax + 0x2c]
sub dword [eax + 0xd8], 0x66d31b98
add dword [eax + 0x31c], 0x1b2e1fda
add dword [eax + 0x370], 0x84f3a62
sub dword [eax + 0x15c], 0x26443bd9
not dword [eax + 0x2d8]
not dword [eax + 0x8c]
sub dword [eax + 0x12c], 0x4a6562f2
xor dword [eax + 0xcc], 0x65b77fde
not dword [eax + 0x274]
add dword [eax + 8], 0x6e892495
sub dword [eax + 0x3c0], 0x6f5c45d3
sub dword [eax + 0x1a0], 0x3f521574
add dword [eax + 0x338], 0x252b0ac9
sub dword [eax + 0x380], 0x4108120c
not dword [eax + 0x284]
invalid
invalid
Function at 0x4485f8
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x448681
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45af2c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x44866b
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040bef0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x448698
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4592fc]
mov dl, 1
mov eax, dword [0x447dfc]
call fcn.0040c824
call fcn.00404748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448688
lea eax, [ebp - 0x1c]
call fcn.00404d8c
ret

Function at 0x448d28
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00448c4c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004041b0
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x448d8c
call fcn.00448540
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x448d7e
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004041b0
pop esi
pop ebx
ret

Function at 0x448db0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00448ae8
xor eax, eax
push ebp
push 0x448e2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d8c
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x448de9
call fcn.004047f4
jmp 0x448e36
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x448e19
push dword [ebp - 0x14]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00404f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448e36
mov eax, dword [ebp - 4]
call fcn.00448af4
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448e3c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.0040524c
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004034f0
test ebx, ebx
je 0x448e87
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x448f64
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x448f95
mov ecx, dword [0x459220]
mov dl, 1
mov eax, dword [0x447dfc]
call fcn.0040c7e8
call fcn.00404748
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x448fc2
mov ecx, dword [0x4591bc]
mov dl, 1
mov eax, dword [0x447dfc]
call fcn.0040c7e8
call fcn.00404748
xor eax, eax
push ebp
push 0x44903e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004041b0
cmp byte [ebp + 8], 0
je 0x44901a
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00448ecc
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00448d28
jmp 0x449034
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0044882c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44905b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44923c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00448ae8
xor eax, eax
push ebp
push 0x4493ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x449397
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x449287
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x449291
call fcn.004047f4
jmp 0x4493b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004158c8
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x44938c
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x44933f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x44932c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004041b0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004491f4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4493c0]
cmp dl, byte [eax + 0x28]
je 0x449393
call fcn.0040c70c
jmp 0x449393
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004158e8
jmp 0x449393
cmp ecx, ebx
jge 0x44935b
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004158e8
jmp 0x449291
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004158c8
cmp edx, dword [esp + 4]
jne 0x44937b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x449291
push ebp
call fcn.004491f4
pop ecx
jmp 0x449393
push ebp
call fcn.004491f4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4493b4
mov eax, dword [ebp - 4]
call fcn.00448af4
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4493c4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4494e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00448ae8
xor eax, eax
push ebp
push 0x4494c9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x449414
call fcn.004047f4
jmp 0x4494d0
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4494b3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4494b3
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004041b0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4494b3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040bef0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x449500
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4592fc]
mov dl, 1
mov eax, dword [0x447dfc]
call fcn.0040c824
call fcn.00404748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4494d0
mov eax, dword [ebp - 4]
call fcn.00448af4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4494ed
lea eax, [ebp - 0x28]
call fcn.00404d8c
ret
Function at 0x44954c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449696
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00448ae8
xor eax, eax
push ebp
push 0x449679
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4495b1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4495b1
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x449663
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4495c4
call fcn.004047f4
jmp 0x449680
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x449663
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x449663
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004041b0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x449663
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040bef0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4496b0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4592fc]
mov dl, 1
mov eax, dword [0x447dfc]
call fcn.0040c824
call fcn.00404748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449680
mov eax, dword [ebp - 4]
call fcn.00448af4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44969d
lea eax, [ebp - 0x28]
call fcn.00404d8c
ret

Function at 0x44b6d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
push ebx
mov ebx, eax
call sub.user32.dll_GetForegroundWindow
lea edx, [ebp - 0x1000]
push edx
push 0xfff
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov eax, ebx
lea edx, [ebp - 0x1000]
mov ecx, 0x1000
call fcn.00404ffc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c66c
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_GetPriorityClass
mov ebx, eax
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_GetThreadPriority
mov esi, eax
push pe_nt_image_headers32
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_SetPriorityClass
push 0xf
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_SetThreadPriority
push 0xa
call sub.KERNEL32.DLL_Sleep
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call sub.KERNEL32.DLL_Sleep
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_SetThreadPriority
push ebx
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_SetPriorityClass
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x44c718]
call fcn.00402e58
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454098
Capabilities:
Get file size

Disassembly:
push 0
push 4
push 3
push 0
push 0
push 0x80000000
mov eax, dword [0x459208]
mov eax, dword [eax]
call fcn.0040524c
push eax
call sub.KERNEL32.DLL_CreateFileA
mov edx, dword [0x45903c]
mov dword [edx], eax
mov eax, dword [0x45903c]
cmp dword [eax], 0xffffffff
je 0x45410e
push 0
mov eax, dword [0x45903c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov edx, dword [0x458f74]
mov dword [edx], eax
mov eax, dword [0x45904c]
mov eax, dword [eax]
push eax
mov eax, dword [0x458f74]
mov eax, dword [eax]
push eax
push 0
push 0
mov eax, dword [0x45903c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_LockFile
mov eax, dword [0x4592b4]
mov dword [eax], 1
ret

Function at 0x454110
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040523c
xor eax, eax
push ebp
push 0x454233
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x459208]
mov eax, dword [eax]
call fcn.00409100
test al, al
jne 0x454151
lea edx, [ebp - 8]
mov eax, dword [0x459208]
mov eax, dword [eax]
call fcn.00442f8c
mov eax, dword [0x4592b4]
cmp dword [eax], 1
jne 0x454189
mov eax, dword [0x45904c]
mov eax, dword [eax]
push eax
mov eax, dword [0x458f74]
mov eax, dword [eax]
push eax
push 0
push 0
mov eax, dword [0x45903c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_UnlockFile
mov eax, dword [0x45903c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_CloseHandle
lea ecx, [ebp - 0xc]
mov eax, dword [0x459208]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.00441154
push 0x1e
call sub.KERNEL32.DLL_Sleep
push 0
push 4
push 3
push 0
push 0
push 0x80000000
mov eax, dword [0x459208]
mov eax, dword [eax]
call fcn.0040524c
push eax
call sub.KERNEL32.DLL_CreateFileA
mov edx, dword [0x45903c]
mov dword [edx], eax
mov eax, dword [0x45903c]
cmp dword [eax], 0xffffffff
je 0x454218
push 0
mov eax, dword [0x45903c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov edx, dword [0x458f74]
mov dword [edx], eax
mov eax, dword [0x45904c]
mov eax, dword [eax]
push eax
mov eax, dword [0x458f74]
mov eax, dword [eax]
push eax
push 0
push 0
mov eax, dword [0x45903c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_LockFile
mov eax, dword [0x4592b4]
mov dword [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45423a
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404db0
ret