joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x586c62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
mov eax, dword [esi]
mov dword [esp + 0x14], 1
call dword [eax + 0x74]
mov edi, eax
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x472452
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x4724f8
test eax, eax
jne 0x472484
push 0x1f90
call fcn.00567b03
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x472477
push 0
mov ecx, eax
call fcn.004b0740
jmp 0x472479
xor eax, eax
mov byte [esp + 0x14], 1
mov dword [esi + 0x11c], eax
mov edx, dword [esi + 0x11c]
lea ecx, [edi + 0x1e8]
mov dword [edx + 0x5c], ecx
mov eax, dword [esi + 0x11c]
mov ecx, dword [edi + 0x250]
mov dword [eax + 0x1678], ecx
mov edx, dword [esi + 0x11c]
mov eax, dword [edi + 0x25c]
mov dword [edx + 0x167c], eax
mov ecx, dword [esi + 0x11c]
mov edx, dword [edi + 0x254]
mov dword [ecx + 0x1680], edx
mov eax, dword [esi + 0x11c]
mov ecx, dword [edi + 0x258]
mov dword [eax + 0x1684], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005691a1
mov ecx, dword [esi + 0x11c]
push eax
push 0x9b
call fcn.00567d11
mov edx, dword [esi + 0x11c]
mov eax, dword [edi + 0x25c]
lea ecx, [edi + 0x1e8]
push 5
mov dword [edx + 0x167c], eax
mov edx, dword [esi + 0x11c]
mov dword [edx + 0x5c], ecx
mov eax, dword [esi + 0x11c]
mov ecx, dword [edi + 0x250]
mov dword [eax + 0x1678], ecx
mov edx, dword [esi + 0x11c]
mov eax, dword [edi + 0x25c]
mov dword [edx + 0x167c], eax
mov ecx, dword [esi + 0x11c]
mov edx, dword [edi + 0x254]
mov dword [ecx + 0x1680], edx
mov eax, dword [esi + 0x11c]
mov ecx, dword [edi + 0x258]
mov dword [eax + 0x1684], ecx
mov ecx, dword [esi + 0x11c]
call fcn.0056c060
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call fcn.00568481
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x24], 3
call fcn.00568481
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x11c]
push eax
push 1
mov byte [esp + 0x28], 1
call fcn.004b4420
mov ecx, dword [esi + 0x11c]
push 1
call fcn.004b1ec0
mov esi, dword [esi + 0x11c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 0
call fcn.0056870c
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x10
Function at 0x473310
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x14c]
test eax, eax
je 0x4733d6
mov eax, dword [0x5fed40]
mov edx, dword [ebp + 0x14c]
push ebx
lea ebx, [ebp + 0x144]
push esi
mov esi, eax
add eax, edx
push 0xffffffffffffffff
push eax
mov ecx, 0x5fed38
call fcn.00478c30
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
lea eax, [esi + esi*8]
mov esi, dword [0x5fed3c]
shl eax, 5
add eax, esi
mov esi, ecx
dec ecx
test esi, esi
je 0x47338b
inc ecx
push edi
mov dword [esp + 0x10], ecx
mov ecx, 0x48
mov esi, edx
mov edi, eax
add eax, 0x120
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
add edx, 0x120
dec ecx
mov dword [esp + 0x10], ecx
jne 0x473369
pop edi
lea esi, [ebp + 0x158]
mov ecx, 0x5fed20
push esi
call fcn.0056682f
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.00478c30
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.005666e6
mov edx, dword [ebp]
lea eax, [esp + 0x10]
push eax
push 0
mov ecx, ebp
call dword [edx + 0x74]
mov eax, dword [eax + 0x1c]
push eax
push 0x4733e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x474c30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x586ee5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 4]
call fcn.0056877a
mov edx, dword [esp]
mov dword [esp + 0x118], 1
cmp dword [edx - 8], 1
jle 0x474cc1
push ebx
lea eax, [esp + 8]
push 1
push eax
lea ecx, [esp + 0xc]
call fcn.00563a18
mov eax, dword [eax]
push 0x5ea038
push eax
call fcn.005503ed
add esp, 8
lea ecx, [esp + 8]
test eax, eax
setne bl
call fcn.0056870c
test bl, bl
pop ebx
je 0x474cc1
push str._feiqwebaccess.html
jmp 0x474cc6
push str.feiqwebaccess.html
lea ecx, [esp + 4]
call fcn.00568ae8
push esi
mov esi, dword [esp + 0x124]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00568481
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x11c], 0
call fcn.0056870c
mov ecx, dword [esp + 0x114]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret 4
Function at 0x481d60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x588381
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov al, byte [0x5fe7d8]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x11c], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00578d59
mov eax, dword [eax + 8]
lea ecx, [esp + 0x11c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x481eed
lea edx, [esp + 0x11c]
lea ecx, [esp + 0xc]
push edx
call fcn.0056877a
push 0x5c
lea ecx, [esp + 0x10]
mov dword [esp + 0x22c], 0
call fcn.00563b0c
mov ecx, dword [0x5f9f88]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0xc]
mov byte [esp + 0x228], 1
mov ecx, dword [edx - 8]
sub ecx, eax
lea eax, [esp + 0x10]
dec ecx
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00563a18
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x22c], 2
call fcn.00568845
lea ecx, [esp + 0x10]
mov byte [esp + 0x228], 1
call fcn.0056870c
push 0x5fe7d8
push str..exe
lea ecx, [esp + 0x10]
call fcn.005637fc
push 0x5fe7d8
push str..EXE
lea ecx, [esp + 0x10]
call fcn.005637fc
mov cl, byte [0x5fe7d8]
xor eax, eax
mov byte [esp + 0x18], cl
mov ecx, 0x40
lea edi, [esp + 0x19]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x230]
push edx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 8]
lea ecx, [esp + 0x18]
push eax
push str._s.lnk
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x11c]
push eax
push ecx
mov ecx, esi
call fcn.00481f10
test eax, eax
je 0x481ec8
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00481fe0
lea ecx, [esp + 8]
mov byte [esp + 0x228], 0
call fcn.0056870c
lea ecx, [esp + 0xc]
mov dword [esp + 0x228], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0x220]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x224
ret 4
Function at 0x481f10
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x5c3f00
push 1
push 0
push 0x5c3ef0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x481f3e
xor eax, eax
add esp, 0x210
ret 8
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp]
push 0x352
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0x5c3f50
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jge 0x481f81
xor eax, eax
add esp, 0x210
ret 8
mov eax, dword [esp + 0x218]
lea edx, [esp + 8]
push 0x104
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, 1
add esp, 0x210
ret 8

Function at 0x4845f4
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x25c]
test eax, eax
je 0x4846de
lea eax, [esp + 0xc]
push ebx
push eax
mov dword [esp + 0x14], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
mov eax, dword [esi + 0x2570]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x484678
call ebx
mov edx, dword [esi + 0x25c]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [edx + 0x4b4c]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 5
cmp ecx, eax
jae 0x484678
mov ecx, dword [esi + 0x1c]
push 0
push 0x8166
push 0x111
push ecx
call ebp
mov dword [esi + 0x2570], 0
mov edi, dword [esi + 0x25c]
call ebx
mov edx, eax
mov eax, dword [esp + 0x14]
sub edx, eax
mov eax, dword [edi + 0x4b4c]
pop ebx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 5
cmp edx, eax
jb 0x4846de
mov eax, dword [esi + 0x2570]
test eax, eax
jne 0x4846de
mov edi, dword [edi + 0x4b50]
test edi, edi
jl 0x4846de
lea eax, [edi + 0x8167]
cmp eax, 0x816f
jg 0x4846de
mov ecx, dword [esi + 0x1c]
push 0
push eax
push 0x111
push ecx
call ebp
mov dword [esi + 0x2570], 1
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x48d060
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x589578
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov edi, ecx
push 0
push 0
mov eax, dword [edi + 0xd8]
push 0x1009
push eax
call ebx
mov eax, dword [edi + 0x74]
xor esi, esi
test eax, eax
jle 0x48d1b0
mov ecx, dword [edi + 0x84]
lea ebx, [esi*4]
push 0
push 0
mov eax, dword [ecx + ebx]
push 0
push 0
push eax
lea ebp, [edi + 0xbc]
push esi
push 1
mov ecx, ebp
call fcn.00564ef6
mov edx, dword [edi + 0x98]
mov ecx, ebp
mov eax, dword [edx + ebx]
push eax
push 0
push esi
call fcn.00564ff1
mov edx, dword [edi + 0xac]
mov eax, ebx
add eax, edx
lea ecx, [esp + 0x10]
push eax
call fcn.00568481
xor ebp, ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebp
call fcn.00566653
lea ecx, [esp + 0x1c]
push 1
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5e77d4
mov byte [esp + 0x48], 1
call fcn.0056877a
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x4c], 2
call fcn.00568481
mov byte [esp + 0x48], 1
call fcn.0043ebe0
add esp, 0x10
cmp ebp, dword [esp + 0x24]
jge 0x48d161
mov eax, dword [esp + 0x20]
lea ecx, [ebp + 1]
mov eax, dword [eax + ebp*4]
push eax
push ecx
push esi
lea ecx, [edi + 0xbc]
call fcn.00564ff1
inc ebp
cmp ebp, 6
jl 0x48d143
mov edx, dword [edi + 0x84]
lea ecx, [edi + 0xbc]
mov ebx, dword [edx + ebx]
push ebx
push 7
push esi
call fcn.00564ff1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.00566686
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0056870c
mov eax, dword [edi + 0x74]
inc esi
cmp esi, eax
jl 0x48d0a3
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov eax, dword [edi + 0xd8]
push 0xfffe
push esi
push 0x101e
push eax
call ebx
inc esi
cmp esi, 8
jl 0x48d1b2
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret

Function at 0x48f1e0
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x48f207
push esi
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x48f209
push esi
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x48f207
mov eax, dword [eax + 0xc]
pop esi
mov ecx, dword [eax]
mov eax, dword [ecx]
ret
xor eax, eax
pop esi
ret
Function at 0x490790
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
xor eax, eax
push ebx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
push esi
mov esi, ecx
mov dword [esp + 0x14], eax
mov cx, word [esp + 0x20]
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push 0x10
push eax
mov word [esp + 0x16], cx
mov ecx, dword [esi]
push 0
push edi
push ebx
push ecx
mov word [esp + 0x24], 2
mov dword [esp + 0x28], edx
call sub.WSOCK32.dll_sendto
cmp eax, 0xffffffff
jne 0x49087a
call sub.WSOCK32.dll_WSAGetLastError
sub eax, 0x2742
je 0x490821
sub eax, 0xf
je 0x490803
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
mov eax, dword [0x5fef00]
test eax, eax
jne 0x490816
mov dword [0x5fef00], 1
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
mov ecx, esi
call fcn.0048fc10
cmp eax, 1
je 0x490838
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
mov eax, dword [esi + 0x14]
test eax, eax
je 0x490857
push eax
mov ecx, esi
call fcn.0048fdc0
cmp eax, 1
je 0x490857
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
mov eax, dword [esi]
lea edx, [esp + 0xc]
push 0x10
push edx
push 0
push edi
push ebx
push eax
call sub.WSOCK32.dll_sendto
cmp eax, 0xffffffff
jne 0x49087a
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret 0x10
Function at 0x4909c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x20]
push edi
push 0
push 1
mov edi, ecx
push 2
mov dword [esi + 0x14], 0
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 8], eax
je 0x490ae2
lea ecx, [esp + 8]
mov dword [esp + 8], 1
push ecx
push 0x8004667e
push eax
call sub.WSOCK32.dll_ioctlsocket
test eax, eax
jne 0x490ae2
mov eax, dword [esi + 8]
lea edx, [esp + 8]
push 4
push edx
push 1
push 0xffff
push eax
call sub.WSOCK32.dll_setsockopt
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x534c]
test eax, eax
mov dword [esp + 0x24], eax
jle 0x490a60
mov eax, dword [esi + 8]
lea edx, [esp + 0x24]
push 4
push edx
push 0x1002
push 0xffff
push eax
call sub.WSOCK32.dll_setsockopt
test eax, eax
je 0x490a60
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
sar eax, 1
test eax, eax
mov dword [esp + 0x24], eax
jg 0x490a31
mov ecx, dword [esp + 0x20]
push esi
push ecx
mov ecx, edi
call fcn.00490af0
test eax, eax
je 0x490ad9
mov ax, word [esi + 0x10]
xor edx, edx
mov dword [esp + 0xc], edx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
mov word [esp + 0xe], ax
mov eax, dword [esi + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
lea edx, [esp + 0xc]
push 0x10
push edx
push eax
mov word [esp + 0x18], 2
mov dword [esp + 0x1c], ecx
call sub.WSOCK32.dll_connect
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x18], eax
jne 0x490ac0
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x490ad9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret 8
mov ecx, dword [esi + 8]
push ecx
call sub.WSOCK32.dll_closesocket
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 8

Function at 0x490b70
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [ecx + 0xa0]
sub esp, 8
test eax, eax
je 0x490b86
mov eax, 1
add esp, 8
ret
mov eax, dword [ecx + 0x9c]
lea edx, [esp]
push 8
mov dword [esp + 4], eax
mov eax, dword [ecx]
push edx
push 5
push 0
push eax
mov dword [ecx + 0xa0], 1
mov dword [esp + 0x18], 0
call sub.WSOCK32.dll_setsockopt
add esp, 8
ret

Function at 0x490bc0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
mov edx, dword [ecx + 0x9c]
push 8
mov dword [esp + 4], edx
lea edx, [esp + 4]
xor eax, eax
push edx
push 6
mov dword [ecx + 0xa0], eax
mov dword [esp + 0x10], eax
push eax
mov eax, dword [ecx]
push eax
call sub.WSOCK32.dll_setsockopt
add esp, 8
ret
Function at 0x492100
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, dword [esp + 8]
or eax, 0xffffffff
cmp esi, 0xffffffff
je 0x4921b9
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push edi
lea edi, [ebx + 3]
push edi
call fcn.00567b03
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov al, byte [esp + 0x20]
test al, al
jne 0x49216d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x492159
mov ecx, dword [esp + 0x24]
cmp ecx, 1
jne 0x492154
inc ebx
push ecx
push ebx
push eax
jmp 0x4921a3
push ebp
xor esi, esi
call fcn.00567b2c
add esp, 4
mov eax, esi
pop edi
pop ebp
pop ebx
pop esi
ret 0x14
mov byte [ebp], al
mov eax, dword [esp + 0x18]
test eax, eax
je 0x492193
mov ecx, ebx
mov esi, eax
mov eax, ecx
lea edi, [ebp + 1]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
jmp 0x492195
xor ebx, ebx
mov eax, dword [esp + 0x24]
cmp eax, 1
jne 0x49219f
inc ebx
inc ebx
push eax
push ebx
push ebp
push esi
call sub.WSOCK32.dll_send
push ebp
mov esi, eax
call fcn.00567b2c
add esp, 4
mov eax, esi
pop edi
pop ebp
pop ebx
pop esi
ret 0x14

Function at 0x492c80
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
test ebx, ebx
push edi
jne 0x492c97
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sub ebp, eax
sub ebx, ecx
push ebp
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push esi
push ebp
push ebx
push 0
push 0
push edi
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebx, dword [esp + 0x24]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
mov ebp, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
mov edi, dword [sym.imp.USER32.dll_ReleaseDC]
push 0
call edi
push esi
push 0
call edi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x492e30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x589d90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x59a098
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], esi
call fcn.0056f86b
mov edi, dword [esp + 0x34]
mov byte [esp + 0x2c], 1
cmp edi, esi
jne 0x492eaf
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.0056f8dd
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 2
call fcn.0056fb6a
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
call ebp
mov ebx, eax
mov esi, dword [ebx + 0x20]
test esi, esi
jne 0x492ecd
mov cl, byte [ebx + 0xe]
mov esi, 1
shl esi, cl
push edi
call ebp
mov edi, eax
cmp word [edi + 0xe], 8
jbe 0x492ef7
mov ecx, dword [edi + 0x10]
xor eax, eax
cmp ecx, 3
mov ecx, dword [edi + 0x20]
setne al
dec eax
and eax, 3
add eax, ecx
lea ecx, [edi + eax*4 + 0x28]
mov dword [esp + 0x3c], ecx
jmp 0x492eff
lea edx, [edi + esi*4 + 0x28]
mov dword [esp + 0x3c], edx
cmp esi, 0x100
jg 0x492f9a
mov eax, dword [esp + 0x20]
push 0x26
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ah, 1
je 0x492f9a
lea eax, [esi*4 + 8]
push eax
call fcn.00567b03
mov ebp, eax
add esp, 4
test esi, esi
mov word [ebp], 0x300
mov word [ebp + 2], si
jle 0x492f61
lea eax, [ebp + 5]
lea ecx, [edi + 0x29]
mov dl, byte [ecx + 1]
add ecx, 4
mov byte [eax - 1], dl
mov dl, byte [ecx - 4]
mov byte [eax], dl
mov dl, byte [ecx - 5]
mov byte [eax + 1], dl
mov byte [eax + 2], 0
add eax, 4
dec esi
jne 0x492f43
push ebp
call dword [sym.imp.GDI32.dll_CreatePalette]
push eax
lea ecx, [esp + 0x14]
call fcn.0056fb13
push ebp
call fcn.00567b2c
add esp, 4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.0056f1aa
mov edi, eax
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp 0x492f9e
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push 0
neg eax
sbb eax, eax
push ebx
push edx
and eax, ebp
push 4
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
lea eax, [esp + 0x10]
pop ebp
pop ebx
test eax, eax
je 0x492fde
mov eax, dword [esp + 0xc]
test eax, eax
je 0x492fde
push 0
push edi
lea ecx, [esp + 0x18]
call fcn.0056f1aa
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.0056f8dd
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 3
call fcn.0056fb6a
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x493df0
Capabilities:
Access peb ldr_data
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x589ea7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push 0xa
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
push 0xc
push 0
push 0x5efd90
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x5f9f88]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
push edx
push 0x5efd8c
push eax
mov dword [esp + 0x2c], 1
call fcn.00563eb4
add esp, 8
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00568481
lea eax, [esp + 8]
push eax
call fcn.00493ed0
add esp, 8
lea ecx, [esp + 4]
mov byte [esp + 0x20], 2
call fcn.00568c0e
mov esi, dword [esp + 0x28]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00568481
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.0056870c
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.0056870c
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret