joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48eb80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e9060
mov eax, dword fs:[0]
push eax
push ebx
push ebp
mov eax, dword [0x51a744]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 3
lea ebx, [ebx]
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
cmp ebp, dword [esp + 0x54]
jne 0x48ebd1
cmp ecx, eax
je 0x48ec4c
cmp ebx, dword [esp + 0x94]
jne 0x48ebe0
cmp dword [esp + 0x78], edx
je 0x48ec4c
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
push dword [esp + 0x6c]
cmovae eax, dword [esp + 0x60]
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x34]
push 0
call fcn.0048e060
test eax, eax
js 0x48ec9b
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
push dword [esp + 0x2c]
cmovae eax, dword [esp + 0x20]
lea ecx, [esp + 0x60]
push eax
push dword [esp + 0x74]
push 0
call fcn.0048e060
test eax, eax
js 0x48ec94
lea eax, [esp + 0x1c]
push eax
call fcn.0048edf0
lea eax, [esp + 0x60]
push eax
call fcn.0048edf0
add esp, 8
jmp 0x48ebb0
cmp ebp, dword [esp + 0x54]
jne 0x48ec82
cmp ecx, eax
jne 0x48ec82
cmp ebx, dword [esp + 0x94]
jne 0x48ec69
cmp dword [esp + 0x78], edx
jne 0x48ec69
xor ebx, ebx
jmp 0x48ec9e
cmp ecx, eax
jne 0x48ec82
xor ebx, ebx
mov eax, 1
test al, al
sete bl
lea ebx, [ebx*2 - 1]
jmp 0x48ec9e
xor ebx, ebx
xor eax, eax
test al, al
sete bl
lea ebx, [ebx*2 - 1]
jmp 0x48ec9e
mov ebx, 1
jmp 0x48ec9e
or ebx, 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x48ecb1
push dword [esp + 0x1c]
call fcn.0045a55b
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
cmp dword [esp + 0x50], 8
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x48ecdb
push dword [esp + 0x3c]
call fcn.0045a55b
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
cmp dword [esp + 0x70], 8
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
jb 0x48ed05
push dword [esp + 0x5c]
call fcn.0045a55b
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
cmp dword [esp + 0x90], 8
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
jb 0x48ed32
push dword [esp + 0x7c]
call fcn.0045a55b
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x48f680
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e9170
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x51a744]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51a744]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
call ebx
mov edi, eax
mov edx, 2
test edi, edi
mov eax, 1
cmove edi, eax
xor ecx, ecx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00440d66
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
push 0x1f
push str.boost::filesystem::current_path
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00419500
lea eax, [esp + 0x20]
mov byte [esp + 0x44], 1
push eax
push ebp
push esi
push edi
call ebx
test eax, eax
sete al
movzx eax, al
push eax
call fcn.0048f7f0
add esp, 0xc
mov byte [esp + 0x44], 0
cmp dword [esp + 0x34], 0x10
jb 0x48f764
push dword [esp + 0x20]
call fcn.0045a55b
add esp, 4
mov ebx, dword [esp + 0x14]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [esi], ax
je 0x48f794
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48f785
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, ebx
call fcn.0041d510
push esi
call fcn.0045b760
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0045a560
add esp, 0x34
ret
Function at 0x48fe80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4e9350
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x51a744]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51a744]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x54]
cmp dword [edi + 0x14], 8
jb 0x48fec8
mov eax, dword [edi]
jmp 0x48feca
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x48feea
push ebp
push edi
push ebx
call fcn.0048fd20
add esp, 0xc
jmp 0x490000
test eax, 0x400
je 0x48ffb9
cmp dword [edi + 0x14], 8
jb 0x48feff
mov eax, dword [edi]
jmp 0x48ff01
mov eax, edi
push eax
lea ecx, [esp + 0x24]
call fcn.0048ddc0
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
push 0
cmovae eax, dword [esp + 0x24]
push 0x2000000
push 3
push 0
push 7
push 0
push eax
mov dword [esp + 0x60], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x34], 8
mov byte [esp + 0x44], 2
jb 0x48ff55
push dword [esp + 0x20]
call fcn.0045a55b
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
cmp esi, 0xffffffff
je 0x48feda
push edi
call fcn.0048f880
add esp, 4
test al, al
jne 0x48ffaa
mov eax, dword [esp + 0x1c]
push eax
push edi
call fcn.0048f970
add esp, 8
mov dword [ebx], 9
mov dword [ebx + 4], eax
mov dword [esp + 0x44], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x490000
push esi
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x48ffcc
mov dword [ebp], 0
call fcn.00458e30
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 3
push eax
push edi
test al, 0x10
jne 0x48ffe6
mov dword [esp + 0x1c], 2
call fcn.0048f970
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
add esp, 8
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0045a560
add esp, 0x34
ret

Function at 0x490b30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x490b40
sub ecx, edx
mov esi, 0x811c9dc5
mov edx, 0
je 0x490b66
movzx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x490b55
push 0x1f31d
and esi, 0x7fffffff
push esi
call fcn.004e1e47
imul ecx, eax, 0xb14
add esp, 8
imul edx, edx, 0x41a7
pop edi
pop esi
sub edx, ecx
lea eax, [edx + 0x7fffffff]
js 0x490b94
mov eax, edx
pop ebp
ret 4
Function at 0x4990c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9db7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x51a744]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0x18], 0
mov dword [edi + 0x30], 0xf
mov dword [edi + 0x2c], 0
mov dword [ebp - 4], 0
mov byte [edi + 0x1c], 0
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 1
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.004a9cd0
mov dword [edi + 0x3c], eax
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 2
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
call fcn.004a9cd0
mov dword [edi + 0x44], eax
mov dword [edi + 0x4c], 0
mov dword [edi + 0x64], 0xf
mov dword [edi + 0x60], 0
mov byte [edi + 0x50], 0
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 4
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push 0x502163
mov byte [ecx], 0
call fcn.00419500
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ab270
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov ecx, dword [ebx]
cmp esi, dword [ecx]
jne 0x4ab2a3
cmp eax, ecx
jne 0x4ab2a3
mov ecx, ebx
call fcn.004aae70
mov eax, dword [ebx]
pop esi
pop ebx
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, eax
je 0x4ab387
push edi
lea esp, [esp]
mov eax, dword [esi]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 8]
lea edx, [eax + 1]
jmp 0x4ab2c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ab2c0
sub eax, edx
mov edi, 0x811c9dc5
mov edx, 0
je 0x4ab2ec
mov ebx, dword [esi + 8]
movzx ecx, byte [edx + ebx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x4ab2d8
mov ebx, dword [ebp - 4]
push 0x1f31d
and edi, 0x7fffffff
push edi
call fcn.004e1e47
imul edx, edx, 0x41a7
add esp, 8
imul eax, eax, 0xb14
sub edx, eax
jns 0x4ab316
add edx, 0x7fffffff
mov edi, dword [ebx + 0x14]
mov ecx, edi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x4ab32b
shr edi, 1
or eax, 0xffffffff
sub eax, edi
add ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
add ecx, edx
cmp dword [ecx + 4], esi
jne 0x4ab357
cmp dword [ecx], esi
jne 0x4ab34f
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [edx + ecx + 4], eax
jmp 0x4ab35f
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4ab35f
cmp dword [ecx], esi
jne 0x4ab35f
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push esi
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 4]
call fcn.0045a55b
mov esi, dword [ebp + 0xc]
add esp, 4
cmp esi, dword [ebp + 0x10]
jne 0x4ab2b0
pop edi
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c9010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ecfe4
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x51a744]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x34
call fcn.0045a79c
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4c90a5
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
mov dword [esi], vtable.google::protobuf::FieldOptions.0
call fcn.004dc180
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.00492fa0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004cbfa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c91d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed064
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x51a744]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x40
call fcn.0045a79c
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4c9265
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
mov dword [esi], vtable.google::protobuf::FileOptions.0
call fcn.004dc180
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.00492fa0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004cc100
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4cbed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed168
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x51a744]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x522e98]
cmp eax, 2
je 0x4cbf3b
mov dword [ebp - 0x18], method.google::protobuf::Closure.virtual_0
mov dword [ebp - 0x14], 0x492f20
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x522e98
call fcn.00492e90
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00492590
mov dword [esi + 0xc], 0
mov eax, dword [0x522e94]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 1
mov dword [esi + 0x24], 1
mov eax, dword [0x522e94]
mov dword [esi + 0x1c], eax
mov eax, dword [0x522e94]
mov dword [esi + 0x20], eax
mov eax, dword [0x522e94]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4cc310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed168
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x51a744]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x522e98]
cmp eax, 2
je 0x4cc37b
mov dword [ebp - 0x18], method.google::protobuf::Closure.virtual_0
mov dword [ebp - 0x14], 0x492f20
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x522e98
call fcn.00492e90
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00492590
mov dword [esi + 0xc], 0
mov eax, dword [0x522e94]
mov dword [esi + 0x30], eax
mov eax, dword [0x522e94]
mov dword [esi + 0x34], eax
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4cc3b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed168
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x51a744]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x522e98]
cmp eax, 2
je 0x4cc41b
mov dword [ebp - 0x18], method.google::protobuf::Closure.virtual_0
mov dword [ebp - 0x14], 0x492f20
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x522e98
call fcn.00492e90
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00492590
mov dword [esi + 0xc], 0
xorps xmm0, xmm0
mov eax, dword [0x522e94]
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
movsd qword [esi + 0x38], xmm0
mov eax, dword [0x522e94]
mov dword [esi + 0x40], eax
mov eax, dword [0x522e94]
mov dword [esi + 0x44], eax
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410c50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x497f7b
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.00489133
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410cd2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004865bf
mov eax, dword [eax]
push 0x594220
push eax
call fcn.004786b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004893be
test bl, bl
je 0x410cd2
push 0x594220
lea ecx, [esp + 0xc]
call fcn.0048974e
push 0x597d8c
lea ecx, [esp + 0xc]
call fcn.0048974e
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 0x410d0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004893be
jmp 0x410dd9
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 0x410d92
lea edx, [esp + 0x7c]
push 0x597d88
push edx
call fcn.004786b4
add esp, 8
test eax, eax
je 0x410d92
lea eax, [esp + 0x7c]
push 0x597d84
push eax
call fcn.004786b4
add esp, 8
test eax, eax
je 0x410d92
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 0x410d22
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.004893be
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 0x4115d0
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 0x411632
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 0x411640
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x497ffb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5a160c]
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 0x411778
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4116a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004893be
xor eax, eax
jmp 0x4117ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004894fb
push esi
lea ecx, [esp + 0xc]
call fcn.0048978a
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 0x4117cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004115d0
test eax, eax
jne 0x4117cd
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.004115d0
test eax, eax
jne 0x4117cd
lea eax, [esp + 0x14]
push 0x597da0
push eax
call fcn.004796f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4117ac
lea ecx, [esp + 0x14]
push 0x597d9c
push ecx
call fcn.00479670
mov esi, eax
add esp, 8
test esi, esi
jne 0x4117ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4117af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004894ab
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4116be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004893be
xor eax, eax
jmp 0x4117ef
mov byte [esi], 0
push 0x597d98
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.004893be
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 0x422ef0
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 0x422f5e
cmp si, 0x69
ja 0x422f5e
add esi, 0xffd0
cmp si, 0x11
je 0x422f2e
push 0x11
call edi
test ax, ax
jge 0x422f2e
or esi, 0x2000
cmp si, 0x10
je 0x422f43
push 0x10
call edi
test ax, ax
jge 0x422f43
or esi, 0x4000
cmp si, 0x12
je 0x422f58
push 0x12
call edi
test ax, ax
jge 0x422f58
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x422f6b
mov esi, 0xbd
jmp 0x422f1f
cmp si, 0x6e
jne 0x422f78
mov esi, 0xbe
jmp 0x422f1f
cmp si, 0x6f
jne 0x422f19
mov esi, 0xbf
jmp 0x422f1f

Function at 0x424610
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5b2090]
xor edx, edx
cmp eax, edx
jne 0x424636
xor eax, eax
mov byte [eax + 0x5b1f90], al
inc eax
cmp eax, 0x100
jl 0x42461e
mov dword [0x5b2090], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5b1f90
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4246c7
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 0x42469a
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 0x424668
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x424740
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 0x424793
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 0x42477a
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