joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443ee0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [ebp + 0x24]
mov byte [esp + 0x13], 0
mov dword [esp + 0x1c], ecx
call fcn.0043e6e0
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov esi, dword [ebp + 4]
mov edi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp + 4]
test esi, esi
je 0x443f23
cmp esi, eax
je 0x443f28
call fcn.0041e312
cmp edi, ebx
je 0x443fc1
test esi, esi
jne 0x443fba
call fcn.0041e312
cmp edi, dword [esi + 0x18]
jne 0x443f47
call fcn.0041e312
mov esi, dword [edi + 0x10]
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
mov edi, eax
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
push eax
push 2
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.WSOCK32.dll_select]
test eax, eax
jle 0x443fa4
lea eax, [esp + 0x28]
push eax
push edi
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x443fa4
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
test al, al
je 0x443fa4
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x14]
call fcn.00416200
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x443f15
mov esi, dword [esi]
jmp 0x443f3d
mov ecx, dword [esp + 0x1c]
call fcn.0043e6f0
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x40e004]
xor eax, esp
mov dword [esp + 0x1a0], eax
push esi
push edi
lea eax, [esp + 0x18]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
push 6
push 1
push 2
xor edi, edi
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x40108e
push str.www.baidu.com
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x401088
mov word [esp + 8], 2
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call sub.WS2_32.dll_inet_ntoa
push eax
call sub.WS2_32.dll_inet_addr
push 0x50
mov dword [esp + 0x10], eax
call sub.WS2_32.dll_htons
push 0x10
lea ecx, [esp + 0xc]
push ecx
push esi
mov word [esp + 0x16], ax
call sub.WS2_32.dll_connect
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov edi, edx
push esi
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
mov ecx, dword [esp + 0x1a8]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00401986
add esp, 0x1a4
ret

Function at 0x4010b0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x130
mov eax, dword [0x40e004]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x134]
push ebx
mov ebx, dword [esp + 0x13c]
push ebp
push edi
mov dword [esp + 0xc], eax
xor eax, eax
push eax
push 2
xor edi, edi
mov dword [esp + 0x18], 0x128
mov dword [0x40f040], eax
mov dword [0x40f044], eax
mov dword [0x40f048], eax
mov dword [0x40f04c], eax
mov dword [0x40f050], eax
mov dword [0x40f054], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
test ebp, ebp
je 0x40115c
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40115c
push esi
mov esi, 0x40f040
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0040a481
add esp, 8
test eax, eax
jne 0x40114c
mov eax, dword [esp + 0x1c]
mov dword [ebx], eax
mov dword [esi], eax
mov edi, 1
add esi, 4
lea ecx, [esp + 0x14]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401126
pop esi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x138]
mov eax, edi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401986
add esp, 0x130
ret

Function at 0x4011b0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
lea ecx, [esp]
push ecx
push 0x401180
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x401986
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e004]
jne 0x401990
repz ret
jmp fcn.00402449

Function at 0x408915
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041fc
xor ebx, ebx
cmp dword [0x40fa6c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4089ea
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x408955
xor eax, eax
jmp 0x408aae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40ba40
push edi
call esi
cmp eax, ebx
je 0x40894e
push eax
call fcn.00404199
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40fa6c], eax
call esi
push eax
call fcn.00404199
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40fa70], eax
call esi
push eax
call fcn.00404199
mov dword [0x40fa74], eax
lea eax, [ebp - 8]
push eax
call fcn.00401eb1
test eax, eax
pop ecx
pop ecx
je 0x4089b8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402926
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4089ea
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404199
cmp eax, ebx
pop ecx
mov dword [0x40fa7c], eax
je 0x4089ea
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404199
pop ecx
mov dword [0x40fa78], eax
mov eax, dword [0x40fa78]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x408a63
cmp dword [0x40fa7c], esi
je 0x408a63
push eax
call fcn.00404205
pop ecx
call eax
cmp eax, ebx
je 0x408a30
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40fa7c]
call fcn.00404205
pop ecx
call eax
test eax, eax
je 0x408a30
test byte [ebp - 0x18], 1
jne 0x408a63
lea eax, [ebp - 0xc]
push eax
call fcn.00401ee8
test eax, eax
pop ecx
je 0x408a4b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402926
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x408a5a
or dword [ebp + 0x10], 0x200000
jmp 0x408a94
or dword [ebp + 0x10], 0x40000
jmp 0x408a94
mov eax, dword [0x40fa70]
cmp eax, esi
je 0x408a94
push eax
call fcn.00404205
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x408a94
mov eax, dword [0x40fa74]
cmp eax, esi
je 0x408a94
push dword [ebp - 4]
push eax
call fcn.00404205
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40fa6c]
call fcn.00404205
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401450
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp]
push ebp
push esi
mov esi, dword [0x41d014]
push edi
push eax
push 0x20019
push 0
push str.SOFTWAREPermeoe_BorderDriver
mov ebp, ecx
push connect
call esi
test eax, eax
je 0x40148a
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x10c
ret
mov eax, dword [esp + 0xc]
mov edi, dword [0x41d018]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.Shared
push eax
mov byte [esp + 0x2c], 0
mov dword [ebp + 0x24c], 0
mov dword [esp + 0x28], 0x104
call edi
test eax, eax
jne 0x4014db
mov al, byte [esp + 0x14]
test al, al
je 0x4014db
cmp al, 0x31
jne 0x4014db
mov dword [ebp + 0x24c], 1
mov eax, dword [ebp + 0x24c]
mov dword [esp + 0x10], 0x104
test eax, eax
je 0x401530
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.Shared_Client_Conf
push eax
call edi
test eax, eax
jne 0x401523
mov al, byte [esp + 0x14]
test al, al
je 0x401523
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0x248]
call fcn.00415e36
mov edx, dword [esp + 0xc]
mov edi, dword [0x41d01c]
push edx
jmp 0x4015a5
mov eax, dword [esp + 0xc]
mov edi, dword [0x41d01c]
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.SOFTWAREPermeoe_BorderDriver
push connect
call esi
test eax, eax
je 0x401566
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x10c
ret
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.User_Client_Conf
push ecx
call dword [0x41d018]
test eax, eax
jne 0x4015a0
mov al, byte [esp + 0x14]
test al, al
je 0x4015a0
lea edx, [esp + 0x14]
lea ecx, [ebp + 0x248]
push edx
call fcn.00415e36
mov eax, dword [esp + 0xc]
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.SOFTWAREPermeoe_BorderDriver
push connect
call esi
test eax, eax
je 0x4015d0
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x10c
ret
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.Admin_last_url
push ecx
mov dword [esp + 0x28], 0x104
call dword [0x41d018]
test eax, eax
jne 0x401612
mov al, byte [esp + 0x14]
test al, al
je 0x401612
lea edx, [esp + 0x14]
lea ecx, [ebp + 0x240]
push edx
call fcn.00415e36
mov eax, dword [esp + 0xc]
push eax
call edi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret

Function at 0x401630
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
push 0x20006
push 0
push str.SOFTWAREPermeoe_BorderDriver
mov esi, ecx
push connect
call dword [0x41d014]
test eax, eax
je 0x40165a
or eax, 0xffffffff
pop esi
pop ecx
ret
mov eax, dword [esi + 0x240]
mov edx, dword [esp + 4]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
push 1
push 0
push str.Admin_last_url
push edx
call dword [0x41d010]
mov eax, dword [esp + 4]
push eax
call dword [0x41d01c]
xor eax, eax
pop esi
pop ecx
ret
Function at 0x402e50
Capabilities:
Get session user name

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x402e9c
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x402e9c
lea ecx, [esp + 8]
push ecx
push eax
call dword [0x41d00c]
test eax, eax
je 0x402e73
xor eax, eax
ret
cmp word [0x4288fc], 0
je 0x402e9c
call dword [0x41d26c]
mov edx, dword [0x4288f8]
push eax
push str.S5UGetUserName:_cant_get_user_name__error__d
push 0
push 0x1e
push edx
call fcn.004036c0
add esp, 0x14
or eax, 0xffffffff
ret
Function at 0x403750
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREPermeoe_Border
push connect
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [0x41d004]
test eax, eax
je 0x4037a6
push str.Cannot_create_reg_key_for_log_n
push 0x423fa0
call fcn.00407078
add esp, 8
xor eax, eax
add esp, 0x10
ret
mov eax, 4
lea edx, [esp]
mov dword [esp + 0xc], eax
mov dword [esp], eax
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.CurrentLogIndex
push edx
call dword [0x41d018]
mov eax, dword [esp + 4]
push eax
call dword [0x41d01c]
mov eax, dword [esp + 8]
add esp, 0x10
ret

Function at 0x4037f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREPermeoe_Border
push connect
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
call dword [0x41d004]
test eax, eax
je 0x403840
push str.Cannot_create_reg_key_for_log_n
push 0x423fa0
call fcn.00407078
add esp, 8
mov ecx, dword [esp]
mov edx, dword [esp + 0x10]
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push str.CurrentLogIndex
push ecx
mov dword [esp + 0x1c], edx
call dword [0x41d010]
test eax, eax
je 0x403884
call dword [0x41d26c]
push eax
push str.Cannot_set_log_current_index_in_registry:__d_n
push 0x423fa0
mov dword [esp + 0x14], eax
call fcn.00407078
add esp, 0xc
mov edx, dword [esp]
push edx
call dword [section..rdata]
mov eax, dword [esp]
push eax
call dword [0x41d01c]
add esp, 0xc
ret

Function at 0x4038a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREPermeoe_Border
push connect
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [0x41d004]
test eax, eax
je 0x4038f6
push str.Cannot_create_reg_key_for_log_n
push 0x423fa0
call fcn.00407078
add esp, 8
xor eax, eax
add esp, 0x10
ret
mov eax, 4
lea edx, [esp]
mov dword [esp + 0xc], eax
mov dword [esp], eax
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.DayofWeek
push edx
call dword [0x41d018]
mov eax, dword [esp + 4]
push eax
call dword [0x41d01c]
mov eax, dword [esp + 8]
add esp, 0x10
ret
Function at 0x403940
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREPermeoe_Border
push connect
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call dword [0x41d004]
test eax, eax
je 0x403990
push str.Cannot_create_reg_key_for_log_n
push 0x423fa0
call fcn.00407078
add esp, 8
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
lea eax, [esp]
push 4
push eax
push 4
push 0
push str.DayofWeek
push ecx
mov dword [esp + 0x18], edx
call dword [0x41d010]
test eax, eax
je 0x4039d4
call dword [0x41d26c]
push eax
push str.Cannot_set_day_of_week_in_registry:__d_n
push 0x423fa0
mov dword [esp + 0x10], eax
call fcn.00407078
add esp, 0xc
mov edx, dword [esp + 8]
push edx
call dword [0x41d01c]
add esp, 0xc
ret

Function at 0x404300
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
mov al, byte [0x428f14]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
test al, al
jne 0x40433b
mov byte [0x428f14], 1
xor ecx, ecx
mov eax, ecx
xor edx, edx
mov ebx, 0xb
div ebx
inc ecx
cmp ecx, 0x400
mov al, byte [edx + 0x4236b0]
mov byte [ecx + 0x428b13], al
jl 0x40431b
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x404372
mov al, byte [esi]
test al, al
je 0x404396
mov edx, 0x428b14
sub edx, esi
mov cl, byte [edx + esi]
and eax, 0xff
shl eax, cl
xor edi, eax
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x404350
mov eax, edi
xor edx, edx
div dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov eax, edx
ret
mov ecx, dword [esp + 0x14]
lea eax, [esi + ecx]
cmp esi, eax
jae 0x404396
mov edx, 0x428b14
sub edx, esi
xor ecx, ecx
mov cl, byte [esi]
mov ebx, ecx
mov cl, byte [edx + esi]
shl ebx, cl
xor edi, ebx
inc esi
cmp esi, eax
jb 0x404384
mov eax, edi
xor edx, edx
div dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov eax, edx
ret
Function at 0x4133d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x41d094]
mov edi, dword [ebp + 8]
push edi
call dword [0x41d30c]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00406a10
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41349b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [0x41d310]
test eax, eax
je 0x41349b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41344e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x413459
or bh, 8
and edi, 0x8000000
je 0x413474
mov eax, dword [0x42c6bc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x41d08c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [0x41d2c8]
test edi, edi
je 0x41349b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x41d08c]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ab70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4717cb
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.00465e48
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40abf2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00463a5d
mov eax, dword [eax]
push 0x48d1d0
push eax
call fcn.00455ee4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004660d3
test bl, bl
je 0x40abf2
push 0x48d1d0
lea ecx, [esp + 0xc]
call fcn.00466463
push 0x490d4c
lea ecx, [esp + 0xc]
call fcn.00466463
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 0x40ac2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004660d3
jmp 0x40acf9
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 0x40acb2
lea edx, [esp + 0x7c]
push 0x490d48
push edx
call fcn.00455ee4
add esp, 8
test eax, eax
je 0x40acb2
lea eax, [esp + 0x7c]
push 0x490d44
push eax
call fcn.00455ee4
add esp, 8
test eax, eax
je 0x40acb2
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 0x40ac42
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.004660d3
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 0x40b4f0
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 0x40b552
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 0x40b560
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47184b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x497b08]
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 0x40b698
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b5c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004660d3
xor eax, eax
jmp 0x40b70f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00466210
push esi
lea ecx, [esp + 0xc]
call fcn.0046649f
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 0x40b6ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040b4f0
test eax, eax
jne 0x40b6ed
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 0x80000000
mov ecx, edi
call fcn.0040b4f0
test eax, eax
jne 0x40b6ed
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00456f20
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b6cc
lea ecx, [esp + 0x14]
push 0x490d5c
push ecx
call fcn.00456ea0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b6cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b6cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004661c0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b5de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004660d3
xor eax, eax
jmp 0x40b70f
mov byte [esi], 0
push 0x490d58
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.004660d3
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 0x41bba0
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 0x41bc0e
cmp si, 0x69
ja 0x41bc0e
add esi, 0xffd0
cmp si, 0x11
je 0x41bbde
push 0x11
call edi
test ax, ax
jge 0x41bbde
or esi, 0x2000
cmp si, 0x10
je 0x41bbf3
push 0x10
call edi
test ax, ax
jge 0x41bbf3
or esi, 0x4000
cmp si, 0x12
je 0x41bc08
push 0x12
call edi
test ax, ax
jge 0x41bc08
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41bc1b
mov esi, 0xbd
jmp 0x41bbcf
cmp si, 0x6e
jne 0x41bc28
mov esi, 0xbe
jmp 0x41bbcf
cmp si, 0x6f
jne 0x41bbc9
mov esi, 0xbf
jmp 0x41bbcf

Function at 0x41d2c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a8218]
xor edx, edx
cmp eax, edx
jne 0x41d2e6
xor eax, eax
mov byte [eax + 0x4a8118], al
inc eax
cmp eax, 0x100
jl 0x41d2ce
mov dword [0x4a8218], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a8118
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41d377
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 0x41d34a
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 0x41d318
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41d3f0
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 0x41d443
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 0x41d42a
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