joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba098
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4ba0a0
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ba292
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4ba2a8
mov eax, esi
call fcn.004b7f24
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004044b4
lea ecx, [ebp - 0x10]
mov edx, 0x4ba2bc
mov eax, esi
call fcn.004b7f24
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004044b4
lea ecx, [ebp - 0x14]
mov edx, 0x4ba2d4
mov eax, esi
call fcn.004b7f24
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004044b4
lea ecx, [ebp - 0x18]
mov edx, 0x4ba2f0
mov eax, esi
call fcn.004b7f24
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004044b4
lea ecx, [ebp - 0x1c]
mov edx, 0x4ba30c
mov eax, esi
call fcn.004b7f24
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004044b4
lea ecx, [ebp - 0x24]
mov edx, 0x4ba324
mov eax, esi
call fcn.004b7f24
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408bd0
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409018
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4ba33c
mov eax, esi
call fcn.004b7f24
mov eax, dword [ebp - 0x28]
call fcn.004b65d4
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4ba34c
mov eax, esi
call fcn.004b7f24
mov eax, dword [ebp - 0x2c]
call fcn.004b65d4
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4ba364
mov eax, esi
call fcn.004b7f24
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409018
inc eax
je 0x4ba235
lea ecx, [ebp - 0x34]
mov edx, 0x4ba364
mov eax, esi
call fcn.004b7f24
mov eax, dword [ebp - 0x34]
call fcn.00408fdc
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040abcc
fstp qword [ebp - 0x3c]
wait
call fcn.0040af30
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4ba250
lea ecx, [ebp - 0x40]
mov edx, 0x4ba364
mov eax, esi
call fcn.004b7f24
mov eax, dword [ebp - 0x40]
call fcn.004b65d4
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4ba374
mov eax, esi
call fcn.004b7f24
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004044b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba299
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404484
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404484
ret
Function at 0x4c5bfc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4c5c56
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004c5bec
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004b5240
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004b4e40
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5c5d
lea eax, [ebp - 4]
call fcn.00404460
ret

Function at 0x4cb2c4
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402ef0
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x4d1ed4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d2045
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d2020
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404648
lea eax, [ebp - 0x118]
mov edx, 0x4d205c
call fcn.00404728
mov eax, dword [ebp - 0x118]
call fcn.00404920
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4d1f92
lea eax, [ebp - 0x111]
call fcn.00409be4
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404550
jmp 0x4d1f99
mov eax, esi
call fcn.00404460
cmp bl, 0x61
jae 0x4d1fba
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040dc50
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004044b4
jmp 0x4d1fd4
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040dbc4
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004044b4
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4d2068
call fcn.0040a2c0
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004044b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2027
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4d5fa4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404910
xor eax, eax
push ebp
push 0x4d6008
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.004d6014
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00409dd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d600f
lea eax, [ebp - 4]
call fcn.00404460
ret

Function at 0x4d6550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404910
xor eax, eax
push ebp
push 0x4d6640
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.004d5d48
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409a2c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004d6ab8
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409910
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004d6b2c
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6647
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404484
ret
Function at 0x4d6650
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404910
xor eax, eax
push ebp
push 0x4d6750
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.004d5d48
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
cmp dword [ebp - 4], 0
je 0x4d6716
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409a2c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004d6ab8
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409910
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004d6b2c
jmp 0x4d6728
xor edx, edx
mov eax, ebx
call fcn.004d6ab8
xor edx, edx
mov eax, ebx
call fcn.004d6b2c
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6757
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404484
ret

Function at 0x4dca34
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x148]
mov edx, ebx
mov eax, edi
call fcn.004dcc58
mov esi, eax
mov dword [edi + 0x148], esi
and esi, 0xff
add dword [edi + 0x14c], esi
imul esi, dword [edi + 0x14c], 0x8088405
inc esi
mov dword [edi + 0x14c], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x150]
mov eax, edi
call fcn.004dcc58
mov dword [edi + 0x150], eax
pop edi
pop esi
pop ebx
ret

Function at 0x4dcaa8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4dcacd
inc esi
mov eax, edi
call fcn.004dca8c
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.004dca34
inc ebx
dec esi
jne 0x4dcab7
pop edi
pop esi
pop ebx
ret
Function at 0x4dcb5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404910
xor eax, eax
push ebp
push 0x4dcbd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004dcad4
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.004dca8c
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004dca34
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x4dcb9c
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dcbd8
lea eax, [ebp - 4]
call fcn.00404460
ret
Function at 0x4dd590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dd760
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x4dd71c
mov eax, dword [ebp - 4]
call fcn.004debfc
cmp ebx, eax
jge 0x4dd71c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov edx, ebx
call fcn.004cf180
mov edx, dword [0x4d6058]
call fcn.0040373c
mov esi, eax
mov eax, esi
call fcn.004d6a4c
test al, al
je 0x4dd712
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, dword [esi + 0x3c]
test edi, edi
jne 0x4dd706
xor eax, eax
push ebp
push 0x4dd6ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004ddb44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
call fcn.0041cc2c
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x3e]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx edx, word [ebp - 0x22]
movzx eax, word [ebp - 0x20]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov cx, 1
mov esi, dword [eax]
call dword [esi + 0x14]
movzx esi, word [ebp - 0x1e]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00404aac
mov eax, dword [ebp - 8]
call fcn.00404978
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
mov al, byte [eax + 0x24]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004dd8f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
mov dl, byte [ebp - 9]
mov byte [eax + 0x24], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd74a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4dd6fe
mov eax, dword [ebp - 4]
call fcn.004ddbc8
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00409dd0
jmp 0x4dd74a
mov eax, dword [ebp - 8]
call fcn.00404460
jmp 0x4dd74a
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x48]
push eax
push 0
lea edx, [ebp - 0x4c]
mov eax, 0xb3
call fcn.00409328
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x417028]
call fcn.0040cdbc
call fcn.00403ddc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd767
lea eax, [ebp - 0x4c]
call fcn.00404460
ret
Function at 0x4fb0b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4fb116
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004046d0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4fb100
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb11d
lea eax, [ebp - 0x10]
call fcn.00404460
ret
Function at 0x4093e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48226b
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.00476aad
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409462
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047481d
mov eax, dword [eax]
push 0x4ddc88
push eax
call fcn.00466ab4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00476d38
test bl, bl
je 0x409462
push 0x4ddc88
lea ecx, [esp + 0xc]
call fcn.004770c8
push 0x4ddc94
lea ecx, [esp + 0xc]
call fcn.004770c8
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 0x40949e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00476d38
jmp 0x409569
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 0x409522
lea edx, [esp + 0x7c]
push 0x4ddc90
push edx
call fcn.00466ab4
add esp, 8
test eax, eax
je 0x409522
lea eax, [esp + 0x7c]
push 0x4ddc8c
push eax
call fcn.00466ab4
add esp, 8
test eax, eax
je 0x409522
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 0x4094b2
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.00476d38
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 0x409d70
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 0x409dd2
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 0x409de0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4822eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e7a34]
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 0x409f18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409e46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00476d38
xor eax, eax
jmp 0x409f8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00476e75
push esi
lea ecx, [esp + 0xc]
call fcn.00477104
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 0x409f6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00409d70
test eax, eax
jne 0x409f6d
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.00409d70
test eax, eax
jne 0x409f6d
lea eax, [esp + 0x14]
push 0x4ddca4
push eax
call fcn.00467b30
mov esi, eax
add esp, 8
test esi, esi
jne 0x409f4c
lea ecx, [esp + 0x14]
push 0x4ddca0
push ecx
call fcn.00467ab0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409f4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409f4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00476e25
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409e5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00476d38
xor eax, eax
jmp 0x409f8f
mov byte [esi], 0
push 0x4ddc9c
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.00476d38
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 0x41c140
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 0x41c1ae
cmp si, 0x69
ja 0x41c1ae
add esi, 0xffd0
cmp si, 0x11
je 0x41c17e
push 0x11
call edi
test ax, ax
jge 0x41c17e
or esi, 0x2000
cmp si, 0x10
je 0x41c193
push 0x10
call edi
test ax, ax
jge 0x41c193
or esi, 0x4000
cmp si, 0x12
je 0x41c1a8
push 0x12
call edi
test ax, ax
jge 0x41c1a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41c1bb
mov esi, 0xbd
jmp 0x41c16f
cmp si, 0x6e
jne 0x41c1c8
mov esi, 0xbe
jmp 0x41c16f
cmp si, 0x6f
jne 0x41c169
mov esi, 0xbf
jmp 0x41c16f

Function at 0x41d9b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f8240]
xor edx, edx
cmp eax, edx
jne 0x41d9d6
xor eax, eax
mov byte [eax + 0x4f8140], al
inc eax
cmp eax, 0x100
jl 0x41d9be
mov dword [0x4f8240], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4f8140
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41da67
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 0x41da3a
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 0x41da08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41dae0
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 0x41db33
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 0x41db1a
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