joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49520e
Capabilities:
Terminate process

Disassembly:
sub esp, 4
push ebx
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [0x4873f0], 0
mov dword [esp + 0x10], eax
jne 0x4953c8
mov eax, dword [0x492e58]
inc dword [0x4873f0]
test eax, eax
je 0x495244
push eax
call fcn.00494ab2
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x4953c8
mov esi, 0x487424
mov edx, 0x492d50
mov edi, edx
mov ebx, 0xffffffff
mov ecx, ebx
sub eax, eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [0x4871ac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
mov esi, edi
mov ecx, ebx
mov edi, edx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x48742c
mov edi, edx
mov ecx, ebx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov edi, dword [eax*4 + 0x4873a4]
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
mov esi, edi
mov ecx, ebx
mov edi, edx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x495301
mov ecx, ebx
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
mov esi, edi
mov ecx, ebx
mov edi, edx
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x10], 0
je 0x495361
mov esi, 0x487430
mov ebx, 0x492d50
mov edi, ebx
mov ebp, 0xffffffff
mov ecx, ebp
sub eax, eax
repne scasb al, byte es:[edi]
add edi, ebp
push 0
push 0xc8
mov ecx, ebp
movsd dword es:[edi], dword [esi]
mov edi, ebx
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x492d4f
mov edi, ebx
push ecx
push 0x400
push dword [esp + 0x20]
push 0
push 0x1000
call dword [sym.imp.KERNEL32.DLL_FormatMessageA]
mov ecx, ebp
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
mov byte [ecx + 0x492d4d], 0
push 0x492d50
mov esi, str.SHRINKER.ERR
push esi
call fcn.00494cf7
add esp, 8
push 0x10
push 0x487434
push esi
call fcn.00494abf
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x4953c8
mov eax, dword [esp + 0x1c]
cmp eax, 0xd
jl 0x495398
mov eax, 0xd
mov esi, 0x487438
mov edx, 0x492d50
mov edi, edx
mov ecx, 0xffffffff
mov dword [esp + 0x1c], eax
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
push ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push edx
call fcn.00494b3b
add esp, 8
push ebx
call fcn.00494ab2
add esp, 4
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x49581d
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x492f74]
imul eax, eax, 0x28
mov ecx, dword [eax + ecx + 0x24]
test ecx, 0x20000000
je 0x495858
test ecx, 0x40000000
je 0x495851
mov eax, ecx
and eax, 0x80000000
cmp eax, 1
sbb eax, eax
and al, 0xe0
add eax, 0x40
jmp 0x495869
mov eax, 0x10
jmp 0x495869
mov eax, ecx
and eax, 0x80000000
cmp eax, 1
sbb eax, eax
and al, 0xfe
add eax, 4
test ecx, 0x4000000
je 0x495876
add eax, 0x200
ret

Function at 0x496624
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
push edi
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x496651
cmp byte [ebp + ebx - 1], 0x5c
je 0x496654
mov esi, 0x4884e8
mov edi, ebx
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
inc ebp
movsw word es:[edi], word [esi]
jmp 0x496654
mov byte [ebx], 0
push ebx
push 0
push 0x4884ec
push ebx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
test eax, eax
mov eax, 0
je 0x4966a2
lea edi, [ebp + ebx]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, str.SHRINK33.LDR
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x10
and ecx, 3
push 0x4884f0
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.00494abf
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4966a7
Capabilities:
Delete file
Get common file path
Query environment variable

Disassembly:
push ebp
mov eax, 0x4220
mov ebp, esp
call fcn.00496bd0
push esi
push edi
push 0
call fcn.004965af
add esp, 4
mov dword [0x4884c8], eax
cmp eax, 0xffffffff
jne 0x4967db
mov edi, 0x104
lea eax, [ebp - 0x11c]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00496624
add esp, 8
mov esi, eax
test esi, esi
jne 0x49676d
push edi
lea eax, [ebp - 0x220]
push eax
lea edi, [ebp - 0x220]
push str.PATH
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
mov al, byte [edi]
test al, al
je 0x49675a
xor ecx, ecx
inc edi
mov byte [ebp - 0x11c], al
cmp al, cl
je 0x49673c
cmp byte [ebp + ecx - 0x11c], 0x3b
je 0x49673c
inc ecx
mov al, byte [edi]
inc edi
mov byte [ebp + ecx - 0x11c], al
test al, al
jne 0x496723
push ecx
lea eax, [ebp - 0x11c]
mov byte [ebp + ecx - 0x11c], 0
push eax
call fcn.00496624
add esp, 8
mov esi, eax
test esi, esi
je 0x496710
test esi, esi
jne 0x49676d
push 0xc
push str.12345
call fcn.0049520e
add esp, 8
lea eax, [ebp - 0x4220]
push eax
push 0x4874bc
call fcn.0049447c
add esp, 8
test eax, eax
jne 0x496791
push 2
push 0
call fcn.0049520e
add esp, 8
lea edi, [ebp - 0x41e0]
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
push esi
mov eax, dword [0x4874b8]
push eax
lea ecx, [ebp - 0x4220]
push ecx
call fcn.00494b12
add esp, 0xc
push esi
call fcn.00494ab2
add esp, 4
push 0
call fcn.004965af
add esp, 4
lea ecx, [ebp - 0x11c]
mov dword [0x4884c8], eax
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
cmp dword [0x4884c8], 0xffffffff
jne 0x4967f0
push 0xc
push 0x488500
jmp 0x496878
xor esi, esi
lea eax, [ebp - 8]
push esi
lea ecx, [ebp - 0x18]
push eax
push 0x10
push ecx
push esi
push esi
push 1
push dword [0x4884c8]
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x496871
cmp dword [ebp - 0x18], 0x31e
jne 0x496868
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 0x10], edx
push 4
lea edx, [ebp - 4]
push edx
mov dword [ebp - 0xc], eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push 2
push dword [0x4884c8]
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x49685f
mov eax, dword [ebp - 4]
mov dword [0x4884cc], eax
jmp 0x496880
push 0xc
push 0x488504
jmp 0x496878
push 0xc
push 0x488508
jmp 0x496878
push 0xc
push 0x48850c
call fcn.0049520e
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43d9e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x10], 1
xor ebp, ebp
call fcn.00440bf0
cmp eax, 4
mov dword [0x8e5420], eax
mov dword [0x6e9664], 0x5609
jne 0x43da1a
mov dword [0x6e9664], 0x3c41e
jmp 0x43da3f
cmp eax, 3
jne 0x43da2b
mov dword [0x6e9664], 0x3a3de
jmp 0x43da3f
cmp eax, 2
je 0x43da35
cmp eax, 1
jne 0x43da44
mov dword [0x6e9664], 0x56c3
mov ebp, 0x1a
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
fild qword [esp + 0x14]
fstp qword [0x6e95d8]
call fcn.004495c0
test eax, eax
je 0x43dc24
cmp ebx, esi
jne 0x43da9d
push 0x1e
push ebp
call fcn.00436d00
mov eax, dword [0x6e9664]
push esi
push esi
push eax
push 0xff
push 0xf0
push 0x140
call fcn.004ec130
add esp, 0x20
mov ebx, 1
jmp 0x43dacf
cmp ebx, 1
jne 0x43dacf
mov ecx, dword [0x6e9664]
push esi
push esi
push ecx
push 0xff
push 0xf0
push 0x140
call fcn.004ec130
mov eax, dword [0x5d4568]
add esp, 0x18
cmp eax, esi
jne 0x43dacf
mov dword [esp + 0x10], esi
call fcn.004eb090
call fcn.00436d40
call fcn.0043e9a0
fld qword [0x51cdd8]
fadd qword [0x6e95d8]
fstp qword [esp + 0x2c]
call edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
fild qword [esp + 0x14]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x43db2e
mov eax, dword [0x51cde8]
cmp eax, 0x14
jge 0x43db2e
fld qword [0x51cde0]
fadd qword [0x6e95d8]
inc eax
mov dword [0x51cde8], eax
fstp qword [0x6e95d8]
jmp 0x43dbde
call fcn.00432200
test eax, eax
jne 0x43db3d
inc dword [0x5d455c]
call fcn.00437460
call fcn.004eb6d0
cmp dword [0x5d5bb4], 1
jne 0x43db74
mov edx, dword [0x5d28e0]
push 0x5d508c
push 0x100
push esi
mov eax, dword [edx + 0x90]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [0x5d5bb4], esi
call fcn.00433180
call edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
fild qword [esp + 0x1c]
fcomp qword [0x6e95d8]
fnstsw ax
test ah, 0x41
je 0x43dbb7
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
fild qword [esp + 0x24]
fcomp qword [0x6e95d8]
fnstsw ax
test ah, 0x41
jne 0x43db94
fld qword [0x51cde0]
fadd qword [0x6e95d8]
mov eax, dword [0x54adb4]
mov dword [0x51cde8], 1
inc eax
mov dword [0x54adb4], eax
fstp qword [0x6e95d8]
cmp dword [esp + 0x10], esi
jne 0x43da5e
mov edx, dword [0x6e9664]
push esi
push esi
push edx
push 0xff
push 0xf0
push 0x140
call fcn.004ec130
add esp, 0x18
call fcn.00437460
call fcn.004eb6d0
call fcn.00433180
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
call fcn.0043d100
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
Function at 0x4db500
Capabilities:
Create http request
Initialize winsock library
Read data from internet
Receive data

Disassembly:
sub esp, 0x394
lea eax, [esp + 4]
push ebp
push esi
push edi
push str._PUK3_newest.txt
push str.http:__zoml.wicp.net:89_s
push eax
call fcn.0050543d
add esp, 0xc
push 0
push 0
push 0
push 0
push str.IKKI_Ver6
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
test ebp, ebp
je 0x4db55d
push 0
push closesocket
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x4db58b
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [esp + 0x210]
xor esi, esi
push eax
push 0x101
mov dword [0xc30798], esi
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x4db696
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x394
ret
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
xor eax, eax
mov dword [0xc307a0], eax
lea edx, [eax + 0x800]
mov dword [esp + 0xc], 0x800
cmp edx, 0x4000
ja 0x4db5dc
lea ecx, [esp + 0xc]
lea edx, [eax + 0xc307a4]
push ecx
push 0x800
push edx
push esi
call edi
test eax, eax
je 0x4db60c
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4db61d
mov eax, dword [0xc307a0]
add eax, ecx
mov dword [0xc307a0], eax
jmp 0x4db598
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
mov eax, dword [0x8e53fc]
push 0x10
push str.NewestInitNetWork
push 0x54a4d0
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x394
ret
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
jmp 0x4db55d
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
mov ecx, dword [0xc307a0]
mov byte [ecx + 0xc307a4], 0
movsx ecx, word [0x54a164]
lea eax, [ecx + ecx*2]
shl eax, 6
add eax, ecx
lea ecx, [esp + 0x110]
lea edx, [eax + 0xc1fef0]
lea eax, [eax + 0xc1fe70]
push edx
push eax
push str._s:_s
push ecx
call fcn.0050543d
lea edx, [esp + 0x120]
push edx
push 0xc307a4
call fcn.00505660
add esp, 0x18
test eax, eax
je 0x4db55d
mov eax, 1
pop edi
pop esi
mov dword [0xc30798], eax
pop ebp
add esp, 0x394
ret
mov dword [0xc307a0], esi
pop edi
pop esi
mov byte [0xc307a4], 0
mov eax, 1
pop ebp
add esp, 0x394
ret
Function at 0x4db6c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
mov eax, dword [0xc30798]
sub esp, 0x20
test eax, eax
jne 0x4db79f
mov eax, dword [str.zoml.wicp.net:89GET__s_HTTP_1._0_n_n]
mov ecx, dword [0x54a534]
mov edx, dword [0x54a538]
mov dword [esp], eax
mov eax, dword [0x54a53c]
push 0
push 1
push 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov dword [0xc3079c], eax
jne 0x4db714
mov eax, 0xfffffffd
add esp, 0x20
ret
push 0x50
mov word [esp + 0x14], 2
call sub.WSOCK32.dll_htons
lea ecx, [esp]
mov word [esp + 0x12], ax
push ecx
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x4db767
lea edx, [esp]
push edx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x4db75c
mov eax, dword [0xc3079c]
push eax
call sub.WSOCK32.dll_closesocket
mov eax, 0xfffffffc
add esp, 0x20
ret
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
mov edx, dword [0xc3079c]
lea ecx, [esp + 0x10]
push 0x10
push ecx
push edx
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x4db79f
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x4db79f
mov eax, dword [0xc3079c]
push eax
call sub.WSOCK32.dll_closesocket
mov eax, 0xfffffffb
add esp, 0x20
ret
mov eax, 1
add esp, 0x20
ret

Function at 0x4db7b0
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
mov eax, dword [0xc30798]
sub esp, 0x100
test eax, eax
jne 0x4db7fa
push edi
push str._PUK3_newest.txt
lea eax, [esp + 8]
push 0x54a540
push eax
call fcn.0050543d
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [0xc3079c]
push 0
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xc]
push ecx
push edx
call sub.WSOCK32.dll_send
pop edi
add esp, 0x100
ret
Function at 0x10079a90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1010f0cb
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.10103425
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10079b12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.101011d0
mov eax, dword [eax]
push 0x1013e258
push eax
call fcn.100e05d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.101036b0
test bl, bl
je 0x10079b12
push 0x1013e258
lea ecx, [esp + 0xc]
call fcn.10103a40
push 0x10141de4
lea ecx, [esp + 0xc]
call fcn.10103a40
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 0x10079b4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.101036b0
jmp 0x10079c19
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 0x10079bd2
lea edx, [esp + 0x7c]
push 0x10141de0
push edx
call fcn.100e05d4
add esp, 8
test eax, eax
je 0x10079bd2
lea eax, [esp + 0x7c]
push 0x10141ddc
push eax
call fcn.100e05d4
add esp, 8
test eax, eax
je 0x10079bd2
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 0x10079b62
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.101036b0
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 0x1007a430
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 0x1007a492
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 0x1007a4a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1010f14b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1014e138]
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 0x1007a5d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1007a506
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.101036b0
xor eax, eax
jmp 0x1007a64f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.101037ed
push esi
lea ecx, [esp + 0xc]
call fcn.10103a7c
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 0x1007a62d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.1007a430
test eax, eax
jne 0x1007a62d
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 bind
mov ecx, edi
call fcn.1007a430
test eax, eax
jne 0x1007a62d
lea eax, [esp + 0x14]
push 0x10141df8
push eax
call fcn.100e16f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1007a60c
lea ecx, [esp + 0x14]
push 0x10141df4
push ecx
call fcn.100e1670
mov esi, eax
add esp, 8
test esi, esi
jne 0x1007a60c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1007a60f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1010379d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1007a51e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.101036b0
xor eax, eax
jmp 0x1007a64f
mov byte [esi], 0
push 0x10141df0
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.101036b0
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 0x1008f4a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x1008f50e
cmp si, 0x69
ja 0x1008f50e
add esi, 0xffd0
cmp si, 0x11
je 0x1008f4de
push 0x11
call edi
test ax, ax
jge 0x1008f4de
or esi, 0x2000
cmp si, 0x10
je 0x1008f4f3
push 0x10
call edi
test ax, ax
jge 0x1008f4f3
or esi, 0x4000
cmp si, 0x12
je 0x1008f508
push 0x12
call edi
test ax, ax
jge 0x1008f508
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1008f51b
mov esi, 0xbd
jmp 0x1008f4cf
cmp si, 0x6e
jne 0x1008f528
mov esi, 0xbe
jmp 0x1008f4cf
cmp si, 0x6f
jne 0x1008f4c9
mov esi, 0xbf
jmp 0x1008f4cf

Function at 0x10090c40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1015f788]
xor edx, edx
cmp eax, edx
jne 0x10090c66
xor eax, eax
mov byte [eax + 0x1015f688], al
inc eax
cmp eax, 0x100
jl 0x10090c4e
mov dword [0x1015f788], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1015f688
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10090cf7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x10090cca
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x10090c98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10090d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x10090d53
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x10090d3a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret