joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475210
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x475227
add esp, 0xfffffff0
call fcn.004049c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425898
mov eax, dword [0x588ad0]
cmp word [eax + 2], 0
jne 0x47524f
mov eax, dword [0x588ad0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00476f18
mov eax, dword [0x588d44]
cmp word [eax + 2], 0
jne 0x475269
mov eax, dword [0x588d44]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00477124
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b9e0]
call fcn.00404674
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b9e0]
call fcn.00404674
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41b9e0]
call fcn.00404674
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42c3b4]
call fcn.00434878
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x475420
mov eax, dword [0x5887f0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00434c4c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4777f8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5887f0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00412a54
test eax, eax
je 0x475370
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040dce8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00412a88
test eax, eax
je 0x475384
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405854
mov byte [ebx + 0xd4], 0
push ebx
push 0x47698c
call fcn.00426a14
mov dword [ebx + 0xc8], eax
mov eax, dword [0x588350]
cmp byte [eax], 0
jne 0x4753d5
mov eax, ebx
call fcn.00475564
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00477a0c
mov eax, ebx
call fcn.00478570
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x475415
call fcn.00404a20
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4757e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x475883
cmp dword [ebx + 0x94], 0
jne 0x47587d
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47576c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47587d
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x475843
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47587d
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041e2ac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x475852
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x475a9c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x590f20]
cmp dword [eax + 0x30], 0
je 0x475bf9
test bl, bl
jne 0x475b4a
cmp dword [esi + 0x9c], 0
jne 0x475b3f
mov eax, esi
call fcn.004783ec
push eax
push 0x4759c8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x475b10
mov eax, dword [0x590f20]
call fcn.00478acc
test al, al
je 0x475b10
mov eax, dword [0x590f44]
call fcn.00406a34
mov edi, eax
cmp edi, 0
jl 0x475b10
push 0
mov eax, dword [0x590f44]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x475afa
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x475b3f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041e2ac
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x475b1f
inc dword [esi + 0x9c]
jmp 0x475bf9
cmp dword [esi + 0x9c], 0
jle 0x475bf9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x475bf9
cmp dword [esi + 0x44], 0
je 0x475ba5
mov eax, dword [0x590f20]
call fcn.00478acc
test al, al
je 0x475ba5
mov eax, dword [0x590f44]
call fcn.00406a34
mov edi, eax
cmp edi, 0
jl 0x475ba5
push 5
mov eax, dword [0x590f44]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x475b8f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x475bd4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041e2ac
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x475bb4
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x590f44
mov ecx, 1
mov edx, dword [0x4759a8]
call fcn.00406be8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4766e0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x47674a
mov eax, ebx
call fcn.00478acc
test al, al
jne 0x47674a
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004056d4
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x476737
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x476757
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405638
jmp 0x476757
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405638
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x477bf0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x477c5e
mov eax, esi
call fcn.00460688
test al, al
je 0x477c5e
mov eax, dword [ebx + 0x84]
call fcn.004602e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x477c5e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x477c52
push 0
mov eax, dword [ebx + 0x84]
call fcn.004602e8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00458078
jmp 0x477c5e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00477a2c
pop esi
pop ebx
ret
Function at 0x48ae98
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp], edx
movzx ebx, word [0x576b8c]
cmp dword [esp], 0x20
jge 0x48aedc
mov edx, dword [esp]
dec edx
test edx, edx
jl 0x48af1f
inc edx
xor esi, esi
movzx edi, bx
shr edi, 8
movzx edi, word [edi*2 + 0x57698c]
shl ebx, 8
xor di, bx
movzx ebx, byte [eax + esi]
xor di, bx
mov ebx, edi
inc esi
dec edx
jne 0x48aeb9
jmp 0x48af1f
mov edx, dword [esp]
test edx, edx
jns 0x48aee6
add edx, 0x1f
sar edx, 5
inc edx
xor esi, esi
mov edi, dword [esp]
dec edi
mov dword [esp + 4], edi
cmp esi, dword [esp + 4]
jge 0x48af1f
movzx edi, bx
shr edi, 8
movzx edi, word [edi*2 + 0x57698c]
shl ebx, 8
xor di, bx
movzx ebx, byte [eax + esi]
xor di, bx
mov ebx, edi
add esi, edx
cmp esi, dword [esp + 4]
jl 0x48aefa
mov esi, 2
movzx eax, bx
shr eax, 8
movzx eax, word [eax*2 + 0x57698c]
shl ebx, 8
xor ax, bx
movzx edx, cx
shr edx, 8
xor ax, dx
mov ebx, eax
shl cx, 8
dec esi
jne 0x48af24
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x48af54
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, dword [0x576f90]
cmp dword [esp], 0x20
jge 0x48af93
mov edx, dword [esp]
dec edx
test edx, edx
jl 0x48afd2
inc edx
xor esi, esi
mov edi, ebx
shr edi, 0x18
mov edi, dword [edi*4 + 0x576b90]
shl ebx, 8
xor edi, ebx
movzx ebx, byte [eax + esi]
xor edi, ebx
mov ebx, edi
inc esi
dec edx
jne 0x48af74
jmp 0x48afd2
mov edx, dword [esp]
test edx, edx
jns 0x48af9d
add edx, 0x1f
sar edx, 5
inc edx
xor esi, esi
mov edi, dword [esp]
dec edi
mov dword [esp + 4], edi
cmp esi, dword [esp + 4]
jge 0x48afd2
mov edi, ebx
shr edi, 0x18
mov edi, dword [edi*4 + 0x576b90]
shl ebx, 8
xor edi, ebx
movzx ebx, byte [eax + esi]
xor edi, ebx
mov ebx, edi
add esi, edx
cmp esi, dword [esp + 4]
jl 0x48afb1
mov esi, 4
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x576b90]
shl ebx, 8
xor eax, ebx
mov edx, ecx
shr edx, 0x18
xor eax, edx
mov ebx, eax
shl ecx, 8
dec esi
jne 0x48afd7
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x48be30
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 0x48beb9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x59108c
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x48bea3
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.004111c8
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, 0x48bed0
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x588ea0]
mov dl, 1
mov eax, dword [0x48b5ac]
call fcn.00411b04
call fcn.00404f18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bec0
lea eax, [ebp - 0x1c]
call fcn.004055e4
ret
Function at 0x48c560
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0x48c5bc]
cmp al, byte [ebx + 0x28]
je 0x48c584
mov esi, 0x401
mov eax, ebx
call fcn.0048c6cc
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0x48c5bc]
cmp al, byte [ebx + 0x28]
jne 0x48c5b4
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x48c648
Capabilities:
Connect socket

Disassembly:
push esi
push edi
mov edi, eax
mov eax, edi
call fcn.0048c560
mov cl, 1
mov edx, edi
mov eax, edi
mov si, 0xffff
call fcn.004048a0
mov edx, dword [0x591224]
mov eax, 0x591238
mov ecx, 5
call fcn.004035b8
push 0x10
lea eax, [edi + 0x18]
push eax
mov eax, dword [edi + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x48c6c4
mov eax, edi
call fcn.0048bd74
mov byte [edi + 0x29], 0
test byte [edi + 0x28], 0x10
jne 0x48c6b7
cmp dword [edi + 4], 0xffffffff
setne al
mov byte [edi + 8], al
mov cl, 2
mov edx, edi
mov eax, edi
mov si, 0xffff
call fcn.004048a0
pop edi
pop esi
ret

Function at 0x48c6e8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00405a74
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403e38
test ebx, ebx
je 0x48c737
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [esp + 4], cl
movzx ecx, byte [edx + 1]
mov byte [esp + 5], cl
movzx ecx, byte [edx + 2]
mov byte [esp + 6], cl
movzx eax, 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 0x48c814
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 0x48c845
mov ecx, dword [0x588bf4]
mov dl, 1
mov eax, dword [0x48b5ac]
call fcn.00411ac8
call fcn.00404f18
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 0x48c872
mov ecx, dword [0x588ab0]
mov dl, 1
mov eax, dword [0x48b5ac]
call fcn.00411ac8
call fcn.00404f18
xor eax, eax
push ebp
push 0x48c8fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048c0b8
mov eax, dword [ebp - 4]
call fcn.0048c0f4
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004048a0
cmp byte [ebp + 8], 0
je 0x48c8da
mov eax, dword [ebp + 0x10]
push eax
movzx eax, 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.0048c77c
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.0048c648
jmp 0x48c8f4
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048c128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48c91b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48cafc
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
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0048c3f0
xor eax, eax
push ebp
push 0x48cc84
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 0x48cc6e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x48cb48
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48cb52
call fcn.00404fc4
jmp 0x48cc8b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004210e0
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 0x48cc63
mov edx, dword [0x59121c]
mov eax, 0x591228
mov ecx, 5
call fcn.004035b8
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 edi, eax
cmp edi, 0xffffffff
jne 0x48cc16
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x48cc03
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004048a0
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.0048cab4
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x48cc98]
cmp dl, byte [eax + 0x28]
je 0x48cc6a
call fcn.004119e0
jmp 0x48cc6a
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00421100
jmp 0x48cc6a
cmp edi, ebx
jge 0x48cc32
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00421100
jmp 0x48cb52
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.004210e0
cmp edx, dword [esp + 4]
jne 0x48cc52
cmp eax, dword [esp]
pop edx
pop eax
jne 0x48cb52
push ebp
call fcn.0048cab4
pop ecx
jmp 0x48cc6a
push ebp
call fcn.0048cab4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cc8b
mov eax, dword [ebp - 4]
call fcn.0048c3fc
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48cc9c
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 0x48cdd3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048c3f0
xor eax, eax
push ebp
push 0x48cdb6
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 0x48ccec
call fcn.00404fc4
jmp 0x48cdbd
mov edx, dword [0x59121c]
mov eax, 0x591228
mov ecx, 5
call fcn.004035b8
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 0x48cda0
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48cda0
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004048a0
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 0x48cda0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.004111c8
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, 0x48cdec
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x588ea0]
mov dl, 1
mov eax, dword [0x48b5ac]
call fcn.00411b04
call fcn.00404f18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cdbd
mov eax, dword [ebp - 4]
call fcn.0048c3fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cdda
lea eax, [ebp - 0x28]
call fcn.004055e4
ret
Function at 0x48ce3c
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 0x48cf9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048c3f0
xor eax, eax
push ebp
push 0x48cf7e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x48cea1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x48cea1
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 0x48cf68
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48ceb4
call fcn.00404fc4
jmp 0x48cf85
mov edx, dword [0x591220]
mov eax, 0x591230
mov ecx, 5
call fcn.004035b8
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 0x48cf68
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48cf68
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004048a0
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 0x48cf68
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.004111c8
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, 0x48cfb4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x588ea0]
mov dl, 1
mov eax, dword [0x48b5ac]
call fcn.00411b04
call fcn.00404f18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cf85
mov eax, dword [ebp - 4]
call fcn.0048c3fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cfa2
lea eax, [ebp - 0x28]
call fcn.004055e4
ret

Function at 0x48d5f8
Capabilities:
Get socket status

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ecx, edx
mov ebx, eax
mov eax, ecx
mov esi, 0x3e8
cdq
idiv esi
mov dword [esp], eax
mov eax, ecx
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [esp + 4], eax
lea eax, [esp + 8]
call fcn.0048b4f4
lea edx, [esp + 8]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
call fcn.0048b4e4
push esp
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
setg al
add esp, 0x10c
pop esi
pop ebx
ret
Function at 0x48da18
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push 0x48dae4
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x48dae1
push 0x48daf0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x591220], eax
push 0x591248
push 0x40
push 8
mov eax, dword [0x591220]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x48da69
mov edx, 0x591230
mov eax, dword [0x591220]
mov ecx, 5
call fcn.004035b8
push 0x48daf8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x59121c], eax
push 0x591240
push 0x40
push 8
mov eax, dword [0x59121c]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x48daa5
mov edx, 0x591228
mov eax, dword [0x59121c]
mov ecx, 5
call fcn.004035b8
push 0x48db00
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x591224], eax
push 0x591250
push 0x40
push 8
mov eax, dword [0x591224]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x48dae1
mov edx, 0x591238
mov eax, dword [0x591224]
mov ecx, 5
call fcn.004035b8
pop ebx
ret

Function at 0x48e440
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403e38
ret
Function at 0x48e620
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405a64
xor eax, eax
push ebp
push 0x48e76e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.0048e440
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405a74
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x48e74d
xor eax, eax
push ebp
push 0x48e746
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x48e72f
xor eax, eax
push ebp
push 0x48e728
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48e711
xor eax, eax
push ebp
push 0x48e70a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.0048e478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e711
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e72f
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e74d
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.0048e4fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e775
lea eax, [ebp - 4]
call fcn.004055e4
ret

Function at 0x48e97c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jle 0x48e99d
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
movzx ebx, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x48e98a
pop edi
pop esi
pop ebx
ret