joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c76c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d2c10]
cmp dword [eax + 0x30], 0
je 0x46c816
cmp dword [ebx + 0x94], 0
jne 0x46c810
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46c6fc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46c810
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 0x46c7d6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46c810
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.0041c13c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46c7e5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46d374
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46d3a9
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.00404e2c
jmp 0x46d3b6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d90
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46e580
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46e5c1
mov eax, esi
call fcn.00454430
test al, al
je 0x46e5c1
mov eax, dword [ebx + 0x84]
call fcn.0045412c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46e5c1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045412c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46f238
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
dec eax
test eax, eax
jl 0x46f2e3
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
and eax, 0xffff
or eax, 2
mov edx, dword [ebp - 8]
mov dl, byte [edx]
mov ebx, eax
xor ebx, 1
imul ebx, eax
shr ebx, 8
xor dl, bl
mov eax, dword [ebp - 8]
mov byte [eax], dl
mov eax, dword [ecx]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
xor al, dl
and eax, 0xff
mov eax, dword [eax*4 + 0x4cf268]
mov edx, dword [ecx]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ecx], eax
mov eax, dword [ecx]
and eax, 0xff
add dword [esi], eax
mov eax, dword [esi]
imul dword [ebp + 8]
inc eax
mov dword [esi], eax
mov eax, dword [edi]
mov edx, dword [esi]
shr edx, 0x18
xor al, dl
and eax, 0xff
mov eax, dword [eax*4 + 0x4cf268]
mov edx, dword [edi]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [edi], eax
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x46f25d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x470c34
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.0040a064
mov eax, dword [ebx]
call fcn.00404ffc
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x470c7a
mov eax, ebx
mov edx, 0x470c88
call fcn.00405004
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4739f4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.00407ce4
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
jb 0x473a28
cmp dword [esp + 8], 1
jb 0x473a28
cmp dword [esp + 0x10], 2
je 0x473a2c
xor eax, eax
jmp 0x473a2e
mov al, 1
add esp, 0x94
ret

Function at 0x473a38
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.00407ce4
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
jne 0x473a6c
cmp dword [esp + 8], 0
jne 0x473a6c
cmp dword [esp + 0x10], 2
je 0x473a70
xor eax, eax
jmp 0x473a72
mov al, 1
add esp, 0x94
ret

Function at 0x48001c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41903c]
call fcn.004056d8
xor eax, eax
push ebp
push 0x480160
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4cf950], 0
jne 0x48006f
mov ecx, dword [0x4d0b0c]
mov dl, 1
mov eax, dword [0x408370]
call fcn.0040d0e4
call fcn.004046cc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004035d4
mov eax, ebx
call fcn.004055a4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x480170
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406838
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004055b4
test eax, eax
jle 0x480107
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x480100
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404fc4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404fac
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004092d8
test eax, eax
jne 0x480100
mov ebx, 0x15
jmp 0x48010c
mov ebx, 0x10
jmp 0x48010c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4cf950]
call fcn.0047ff74
mov eax, dword [ebp - 8]
call fcn.0047ff74
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480167
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404d60
lea eax, [ebp - 0x10]
mov edx, dword [0x41903c]
call fcn.004057a8
ret
Function at 0x487f1c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00487ee4
mov eax, dword [ebx]
call fcn.00404ffc
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x487f62
mov eax, ebx
mov edx, 0x487f70
call fcn.00405004
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x487f74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00487ee4
mov eax, dword [ebx]
call fcn.00404ffc
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x487fba
mov eax, ebx
mov edx, 0x487fc8
call fcn.00405004
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49388c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426e60
cmp ebx, dword [ebp - 8]
jge 0x4938ef
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042725c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042725c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00427288
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4938b5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4938f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426e60
cmp ebx, dword [ebp - 8]
jge 0x49395b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042725c
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042725c
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00427288
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x493921
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4a8d40
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 0x4a8dc9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d2fd4
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4a8db3
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c7e0
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, 0x4a8de0
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4d10b0]
mov dl, 1
mov eax, dword [0x4a8544]
call fcn.0040d120
call fcn.004046cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8dd0
lea eax, [ebp - 0x1c]
call fcn.00404d3c
ret

Function at 0x4a9470
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004a9394
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404134
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4a94d4
call fcn.004a8c88
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4a94c6
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.00404134
pop esi
pop ebx
ret

Function at 0x4a94f8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.004051fc
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004035d4
test ebx, ebx
je 0x4a9543
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 0x4a9620
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 0x4a9651
mov ecx, dword [0x4d0f4c]
mov dl, 1
mov eax, dword [0x4a8544]
call fcn.0040d0e4
call fcn.004046cc
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 0x4a967e
mov ecx, dword [0x4d0ea4]
mov dl, 1
mov eax, dword [0x4a8544]
call fcn.0040d0e4
call fcn.004046cc
xor eax, eax
push ebp
push 0x4a96fa
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.00404134
cmp byte [ebp + 8], 0
je 0x4a96d6
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.004a9588
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.004a9470
jmp 0x4a96f0
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.004a8f74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a9717
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a98f8
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.004a9230
xor eax, eax
push ebp
push 0x4a9a69
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 0x4a9a53
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4a9943
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a994d
call fcn.00404778
jmp 0x4a9a70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041e64c
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 0x4a9a48
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 0x4a99fb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4a99e8
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404134
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.004a98b0
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4a9a7c]
cmp dl, byte [eax + 0x28]
je 0x4a9a4f
call fcn.0040cffc
jmp 0x4a9a4f
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041e66c
jmp 0x4a9a4f
cmp ecx, ebx
jge 0x4a9a17
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.0041e66c
jmp 0x4a994d
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.0041e64c
cmp edx, dword [esp + 4]
jne 0x4a9a37
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4a994d
push ebp
call fcn.004a98b0
pop ecx
jmp 0x4a9a4f
push ebp
call fcn.004a98b0
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9a70
mov eax, dword [ebp - 4]
call fcn.004a923c
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a9a80
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 0x4a9ba2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a9230
xor eax, eax
push ebp
push 0x4a9b85
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 0x4a9ad0
call fcn.00404778
jmp 0x4a9b8c
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 0x4a9b6f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a9b6f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404134
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 0x4a9b6f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c7e0
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, 0x4a9bbc
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4d10b0]
mov dl, 1
mov eax, dword [0x4a8544]
call fcn.0040d120
call fcn.004046cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9b8c
mov eax, dword [ebp - 4]
call fcn.004a923c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9ba9
lea eax, [ebp - 0x28]
call fcn.00404d3c
ret
Function at 0x4a9c08
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 0x4a9d52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a9230
xor eax, eax
push ebp
push 0x4a9d35
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4a9c6d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4a9c6d
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 0x4a9d1f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4a9c80
call fcn.00404778
jmp 0x4a9d3c
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 0x4a9d1f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4a9d1f
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404134
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 0x4a9d1f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c7e0
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, 0x4a9d6c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4d10b0]
mov dl, 1
mov eax, dword [0x4a8544]
call fcn.0040d120
call fcn.004046cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9d3c
mov eax, dword [ebp - 4]
call fcn.004a923c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9d59
lea eax, [ebp - 0x28]
call fcn.00404d3c
ret

Function at 0x4aa818
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051ec
mov eax, dword [ebp - 8]
call fcn.004051ec
lea ebx, [ebp - 0x44]
xor eax, eax
push ebp
push 0x4aa8cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x3c
call fcn.004035d4
mov dword [ebx], 0x3c
mov dword [ebx + 4], 0x140
call sub.user32.dll_GetActiveWindow
mov dword [ebx + 8], eax
mov eax, 0x4aa8d8
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 8]
call fcn.004051fc
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 4]
call fcn.004051fc
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x1c], 1
push ebx
call sub.shell32.dll_ShellExecuteExA
jmp 0x4aa8a2
mov eax, dword [0x4d0fb4]
mov eax, dword [eax]
call fcn.0046d6b4
push 0x32
mov eax, dword [ebx + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x4aa896
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa8d3
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d60
ret
Function at 0x4b7f7c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4b7ffb
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x41
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404f24
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4b8010
call fcn.00405048
mov eax, dword [ebp - 4]
call fcn.004051fc
push eax
call sub.kernel32.dll_GetDriveTypeA
test eax, eax
je 0x4b7fda
cmp eax, 1
je 0x4b7fda
cmp eax, 3
jne 0x4b7fda
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x5b
jne 0x4b7f9a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8002
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d60
ret
Function at 0x4c88f8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov esi, dword [eax]
mov edi, dword [ecx]
mov eax, ebx
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
lea ecx, [0x4d0a50]
xor eax, eax
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 4], 0
je 0x4c895f
lodsw ax, word [esi]
mov bl, al
shr bl, 2
mov dl, byte [ebx + ecx]
mov bh, ah
and bh, 0xf
rol ax, 4
and ax, 0x3f
mov dh, byte [eax + ecx]
mov ax, dx
stosw word es:[edi], ax
lodsb al, byte [esi]
mov bl, al
shr bx, 6
mov dl, byte [ebx + ecx]
and al, 0x3f
xor ah, ah
mov dh, byte [eax + ecx]
mov ax, dx
stosw word es:[edi], ax
dec dword [ebp - 4]
jne 0x4c8925
cmp dword [ebp - 8], 0
je 0x4c89af
xor eax, eax
xor ebx, ebx
xor edx, edx
lodsb al, byte [esi]
shl ax, 6
mov bl, ah
mov dl, byte [ebx + ecx]
dec dword [ebp - 8]
je 0x4c899a
shl ax, 2
and ah, 3
lodsb al, byte [esi]
shl ax, 4
mov bl, ah
mov dh, byte [ebx + ecx]
shl edx, 0x10
shr al, 2
mov bl, al
mov dl, byte [ebx + ecx]
mov dh, 0x3d
jmp 0x4c89a9
shr al, 2
mov bl, al
mov dh, byte [ebx + ecx]
shl edx, 0x10
mov dh, 0x3d
mov dl, 0x3d
mov eax, edx
ror eax, 0x10
stosd dword es:[edi], eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x4cbc44
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004051ec
mov eax, dword [ebp - 8]
call fcn.004051ec
xor eax, eax
push ebp
push 0x4cbcd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4cb8a4]
call fcn.00403efc
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4cbbc8
test esi, esi
je 0x4cbc94
sub esi, 0xffffffec
push esi
push 0
mov eax, dword [ebp - 8]
call fcn.004051fc
push eax
mov eax, dword [ebp - 4]
call fcn.004051fc
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbcd9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d60
ret

Function at 0x4ccbb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051ec
xor eax, eax
push ebp
push 0x4ccc58
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00407cd8
mov word [ebp - 0x18], bx
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x20], 0x18
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00409cec
mov eax, dword [ebp - 0x5c]
call fcn.004051fc
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004051fc
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4ccc37
mov ebx, dword [ebp - 0x50]
jmp 0x4ccc3a
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ccc5f
lea eax, [ebp - 0x5c]
call fcn.00404d3c
lea eax, [ebp - 4]
call fcn.00404d3c
ret