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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x490aa0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x43a98c
cmp dword [esi + 0x10], ebx
je 0x43a98c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00459fe0
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x43a98c
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.00421c15
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004250b3
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456761
leave
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x43f6d0
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x43f78b
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d540]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d540]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d540]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d540]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d540]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d540]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d540]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x47d540]
add edx, 8
sub edi, 8
dec esi
jne 0x43f6ee
pop ebx
test edi, edi
je 0x43f7a4
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x47d540]
inc edx
dec edi
jne 0x43f78f
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x43fc51
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x43fc85
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43fc80
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x43fcad
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x43fc96
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00455be0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret
Function at 0x440acf
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x490aa0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x440b77
movzx ecx, word [esi]
test cx, cx
je 0x440b77
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x440b0a
cmp cx, 0x5c
jne 0x440b0c
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x440afe
cmp eax, esi
je 0x440b4b
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00459f94
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00440acf
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00459f73
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00459f42
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00456761
leave
ret

Function at 0x4420a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44211f
cmp dword [esi + 4], 0xffffffff
jne 0x44211f
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x47db3c
push edi
call fcn.00459f42
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x4420f1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4420f1
mov eax, 0x2000000
jmp 0x442124
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043fa5e
add esp, 0x10
test eax, eax
jne 0x44210f
mov eax, dword [ebp + 0x10]
jmp 0x442124
push eax
call fcn.00441c93
mov dword [esi], eax
mov eax, dword [0x4949f8]
pop ecx
jmp 0x442124
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x4430f1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4d4], ebx
je 0x443159
cmp dword [ebp + 8], 0x100
jne 0x443148
cmp word [ebp + 0xc], 0xd
jne 0x443148
cmp byte [esi + 0x4da], bl
je 0x44312f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x443148
cmp byte [esi + 0x4db], bl
jne 0x443148
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x443144
push ebx
push ebx
push ebx
push str.return
push esi
call fcn.004250b3
xor eax, eax
jmp 0x44315c
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x44e910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x44e935
cmp eax, edi
jge 0x44e92d
mov eax, esi
call fcn.0044e2ce
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edi, dword [esi + 8]
xor ecx, ecx
test edi, edi
jle 0x44e962
mov eax, dword [esi + 0xc]
push ebx
mov dl, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + ecx - 4], dl
shr eax, 8
mov ebx, edi
inc ecx
mov dword [esi + 0xc], eax
test ebx, ebx
jg 0x44e942
mov dword [esi + 8], ebx
pop ebx
cmp ecx, 4
jge 0x44e981
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x44e96f
xor eax, eax
jmp 0x44e977
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x44e965
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x44e9b3
mov eax, str.zlib_corrupt
call fcn.0044bba4
jmp 0x44e9ee
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x44e9c3
mov eax, str.read_past_buffer
jmp 0x44e9ac
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x44e9d8
mov ecx, edi
call fcn.0044e304
test eax, eax
je 0x44e9ee
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00455be0
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret

Function at 0x452bd0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x490aa0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x452c1d
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x452c1d
shr eax, 8
cmp al, 2
jne 0x452c1d
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456761
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00456761
mov esp, ebp
pop ebp
ret
Function at 0x454060
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4004
call fcn.00458570
mov eax, dword [0x490aa0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
jne 0x45410d
mov ecx, dword [esi + 0x84]
push 0
push 0x4000
lea eax, [ebp - 0x4004]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x45411f
push edi
call fcn.004599dc
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
call fcn.004599dc
cmp dword [eax], 2
pop edi
je 0x4540cc
call fcn.004599dc
cmp dword [eax], 0x2733
jne 0x4540d7
call fcn.004599dc
mov dword [eax], 0xb
call fcn.004599dc
cmp dword [eax], 0xb
jne 0x4540ee
test byte [esi + 0x88], 1
je 0x454188
mov dword [esi], 1
call fcn.004599dc
mov edx, dword [eax]
push 0x80
add esi, 4
push esi
push edx
call fcn.00452c50
add esp, 0xc
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456761
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x454145
push str.Server_closed_the_connection
push 3
push esi
call fcn.00453f70
add esp, 0xc
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456761
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x90]
push eax
lea eax, [ebp - 0x4004]
push eax
push ecx
call fcn.00453700
add esp, 0xc
test eax, eax
je 0x454188
mov eax, dword [esi + 0x90]
lea edx, [eax + 4]
mov eax, dword [eax]
push edx
push eax
push esi
call fcn.00453f70
add esp, 0xc
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456761
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00456761
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
jne 0x45423c
mov eax, dword [esi + 0x8c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x454273
push 0
push ecx
push eax
mov eax, dword [esi + 0x84]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x454242
push edi
call fcn.004599dc
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
call fcn.004599dc
cmp dword [eax], 2
pop edi
je 0x4541ff
call fcn.004599dc
cmp dword [eax], 0x2733
jne 0x45420a
call fcn.004599dc
mov dword [eax], 0xb
call fcn.004599dc
cmp dword [eax], 0xb
jne 0x45421d
test byte [esi + 0x88], 1
je 0x454273
mov dword [esi], 1
call fcn.004599dc
mov ecx, dword [eax]
push 0x80
add esi, 4
push esi
push ecx
call fcn.00452c50
add esp, 0xc
or eax, 0xffffffff
pop esi
pop ebp
ret
test eax, eax
jle 0x454273
mov ecx, dword [esi + 0x8c]
cmp eax, dword [ecx - 8]
jne 0x454261
push ecx
call fcn.004544e0
add esp, 4
call fcn.004544b0
jmp 0x45426d
push 0xffffffffffffffff
push eax
push ecx
call fcn.004546b0
add esp, 0xc
mov dword [esi + 0x8c], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45428a
mov edx, dword [esi + 0x8c]
xor ecx, ecx
cmp dword [edx - 8], ecx
sete cl
mov dword [eax], ecx
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4547e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 0xc], eax
lea ecx, [ebp + 0xc]
sete al
push ecx
push 0x8004667e
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x454847
push esi
call fcn.004599dc
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
call fcn.004599dc
mov edx, dword [eax]
push edx
push str.ioctlsocket_FIONBIO_:__d_n
call fcn.004544b0
push eax
call fcn.00454690
push eax
mov eax, dword [ebp + 8]
push 1
push eax
call fcn.00453f70
add esp, 0x18
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4549f0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xfa90
call fcn.00458570
mov eax, dword [0x490aa0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
xor edi, edi
test eax, eax
je 0x454a28
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xfa90], ecx
mov dword [ebp - 0xfa8c], edx
lea edi, [ebp - 0xfa90]
call fcn.004599dc
cmp dword [eax], 0x70
jne 0x454ad0
push edi
push 0
lea eax, [ebp - 0xfa88]
push eax
push 0
push 0x3e80
mov dword [ebp - 0xfa84], esi
mov dword [ebp - 0xfa88], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x454ab0
push str.select_2_
push str._s:
lea ecx, [ebp - 0x84]
push 0x80
push ecx
call fcn.00458223
mov edi, eax
call fcn.004599dc
mov edx, 0x80
sub edx, edi
push edx
mov edx, dword [eax]
lea ecx, [ebp + edi - 0x84]
push ecx
push edx
call fcn.00452c50
lea eax, [ebp - 0x84]
push eax
push 1
push ebx
call fcn.00453f70
add esp, 0x28
jmp 0x454afb
lea ecx, [ebp - 0xfa88]
push ecx
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x454b14
call fcn.004599dc
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
call fcn.004599dc
mov eax, dword [eax]
push 0x80
lea edx, [ebp - 0x84]
push edx
push eax
call fcn.00452c50
lea ecx, [ebp - 0x84]
push ecx
push 1
push ebx
call fcn.00453f70
add esp, 0x18
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456761
mov esp, ebp
pop ebp
ret
push esi
push ebx
call fcn.004548b0
mov ecx, dword [ebp - 4]
add esp, 8
neg eax
sbb eax, eax
xor ecx, ebp
pop edi
call fcn.00456761
mov esp, ebp
pop ebp
ret
Function at 0x454b40
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x490aa0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x88]
push esi
mov esi, dword [ebp + 0xc]
push edi
and eax, 1
mov edi, 2
mov dword [ebp - 0x18], eax
call fcn.00454730
mov edi, eax
test edi, edi
js 0x454bd6
mov edx, dword [ebp + 0x10]
mov ecx, 2
push edx
mov word [ebp - 0x14], cx
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x454ba7
test eax, eax
je 0x454ba7
mov dword [ebp - 0x10], eax
jmp 0x454bf4
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x454bea
push esi
push str.cant_resolve:__s_n
call fcn.004544b0
push eax
call fcn.00454690
push eax
push 2
push ebx
call fcn.00453f70
add esp, 0x18
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456761
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
push ebx
mov esi, edi
call fcn.00454850
add esp, 4
test eax, eax
jne 0x454bd6
cmp dword [ebp - 0x18], eax
jne 0x454c16
push eax
push ebx
call fcn.004547e0
add esp, 8
test eax, eax
jne 0x454bd6
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x454c82
call fcn.004599dc
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
call fcn.004599dc
cmp dword [eax], 0x2726
je 0x454c51
call fcn.004599dc
cmp dword [eax], 0x2733
jne 0x454c5c
call fcn.004599dc
mov dword [eax], 0x70
call fcn.004599dc
cmp dword [eax], 0x70
jne 0x454c6c
cmp dword [ebp - 0x18], 0
je 0x454c9b
mov ecx, dword [ebp - 0x1c]
push ecx
mov esi, edi
call fcn.004549f0
add esp, 4
test eax, eax
jne 0x454bd6
cmp dword [ebp - 0x18], 0
je 0x454c9b
push 1
push ebx
call fcn.004547e0
add esp, 8
test eax, eax
jne 0x454bd6
mov ecx, dword [ebp - 4]
or dword [ebx + 0x88], 2
mov dword [ebx + 0x84], edi
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00456761
mov esp, ebp
pop ebp
ret

Function at 0x456761
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x490aa0]
jne 0x45676b
repz ret
jmp fcn.0045eaac
Function at 0x46699e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x490aa0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0045e4a8
and dword [ebp - 0x14], 0
cmp dword [0x495aa0], 0
mov dword [ebp - 0x18], eax
jne 0x466a51
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x466af9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x482d00
push ebx
call edi
test eax, eax
je 0x466af9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x495aa0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x495aa4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x495aa8], eax
call edi
push eax
call esi
mov dword [0x495ab0], eax
test eax, eax
je 0x466a51
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x495aac], eax
mov eax, dword [0x495aac]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x466aaa
cmp dword [0x495ab0], ecx
je 0x466aaa
push eax
call esi
push dword [0x495ab0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x466aaa
test ebx, ebx
je 0x466aaa
call edi
test eax, eax
je 0x466aa1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x466aa1
test byte [ebp - 8], 1
jne 0x466aaa
or dword [ebp + 0x10], 0x200000
jmp 0x466add
mov eax, dword [0x495aa4]
cmp eax, dword [ebp - 0x18]
je 0x466add
push eax
call esi
test eax, eax
je 0x466add
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x466add
mov eax, dword [0x495aa8]
cmp eax, dword [ebp - 0x18]
je 0x466add
push eax
call esi
test eax, eax
je 0x466add
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x495aa0]
call esi
test eax, eax
je 0x466af9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x466afb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456761
leave
ret
Function at 0x48d232
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x48d26a
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x48d258
mov al, 1
jmp 0x48d2bb
cmp dword [ebx + 0x54], ecx
jne 0x48d261
mov al, 2
jmp 0x48d2bb
cmp dword [ebx + 0x7c], ecx
jne 0x48d2bb
mov al, 3
jmp 0x48d2bb
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x48d27f
mov al, 4
jmp 0x48d2bb
cmp ecx, 5
jne 0x48d29f
cmp ebx, 0
jne 0x48d28d
mov al, 5
jmp 0x48d2bb
cmp ebx, 1
jne 0x48d296
mov al, 6
jmp 0x48d2bb
cmp ebx, 2
jne 0x48d29f
mov al, 7
jmp 0x48d2bb
cmp ecx, 6
jne 0x48d2ab
cmp ebx, 0
jne 0x48d2ad
mov al, 8
jmp 0x48d2bb
cmp ebx, 1
jne 0x48d2b4
mov al, 9
cmp ebx, 2
jne 0x48d2bb
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e5de0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x57a02b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0056e6c8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4e5e62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0056c4bc
mov eax, dword [eax]
push 0x9add70
push eax
call fcn.0055ad04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0056e953
test bl, bl
je 0x4e5e62
push 0x9add70
lea ecx, [esp + 0xc]
call fcn.0056ece3
push 0x9add7c
lea ecx, [esp + 0xc]
call fcn.0056ece3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4e5e9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0056e953
jmp 0x4e5f69
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4e5f22
lea edx, [esp + 0x7c]
push 0x9add78
push edx
call fcn.0055ad04
add esp, 8
test eax, eax
je 0x4e5f22
lea eax, [esp + 0x7c]
push 0x9add74
push eax
call fcn.0055ad04
add esp, 8
test eax, eax
je 0x4e5f22
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4e5eb2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0056e953
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4e6760
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4e67c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4e67d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x57a0ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x9c2e68]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4e6908
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4e6836
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0056e953
xor eax, eax
jmp 0x4e697f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0056ea90
push esi
lea ecx, [esp + 0xc]
call fcn.0056ed1f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4e695d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004e6760
test eax, eax
jne 0x4e695d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004e6760
test eax, eax
jne 0x4e695d
lea eax, [esp + 0x14]
push 0x9add8c
push eax
call fcn.0055be70
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e693c
lea ecx, [esp + 0x14]
push 0x9add88
push ecx
call fcn.0055bdf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e693c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4e693f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0056ea40
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4e684e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0056e953
xor eax, eax
jmp 0x4e697f
mov byte [esi], 0
push 0x9add84
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0056e953
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x4eccb6
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x4eccde
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret