joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6fb4ea60
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
test eax, eax
je 0x6fb4ead0
mov esi, edx
mov dword [esp], eax
mov ebx, eax
mov edi, 1
call dword [sym.imp.ucrtbase.dll_strlen]
lea edx, [eax + 1]
test eax, eax
je 0x6fb4eac6
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
mov dword [esi], eax
je 0x6fb4eadf
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._memcpy
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov edi, 1
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret
xor edi, edi
test byte [0x6fb5e160], 2
je 0x6fb4eac6
mov dword [esp + 0xc], str.Failed_to_allocate_name_memory._n
mov dword [esp + 8], str.copy_name
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb4eac6

Function at 0x6fb4eb80
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x2c
test byte [0x6fb5e160], 8
jne 0x6fb4ebe8
mov eax, dword [ebx]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 8]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Free_signature__p_n
mov dword [esp + 8], str.free_signature
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb4eb94
Function at 0x6fb50090
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
test byte [0x6fb5e160], 8
jne 0x6fb500d0
test ebx, ebx
je 0x6fb50100
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._p_decreasing_refcount_to__lu._n
mov dword [esp + 8], str.d3dcompiler_shader_reflection_Release
mov dword [esp + 4], 0x6fb5e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
test ebx, ebx
jne 0x6fb500bd
mov eax, esi
call sym._reflection_cleanup
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x6fb54a20
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
test byte [0x6fb5e180], 8
jne 0x6fb54a88
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [ebx + 8]
cmp eax, ecx
jae 0x6fb54ad0
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*2]
mov dword [edx + eax*4], ecx
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
mov edx, dword [ebp + 0x10]
mov dword [eax + 8], esi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov dword [eax + 4], edx
inc dword [ebx + 4]
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp + 0xc]
call sym._wine_dbgstr_an.constprop.0_2
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.dxbc__p__tag__s__size__Ix._n
mov dword [esp + 8], 0x6fb6834c
mov dword [esp + 4], 0x6fb5e180
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [ebx + 8]
cmp eax, ecx
jb 0x6fb54a48
lea edi, [ecx + ecx]
mov dword [esp + 8], edx
lea ecx, [edi + ecx*4]
mov dword [esp + 4], 0
shl ecx, 2
mov dword [esp + 0xc], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
mov edx, eax
test eax, eax
je 0x6fb54b14
mov dword [ebx + 8], eax
mov eax, dword [ebx + 4]
mov dword [ebx], edi
jmp 0x6fb54a48
mov ebx, 0x8007000e
test byte [0x6fb5e180], 2
je 0x6fb54a77
mov dword [esp + 0xc], str.Failed_to_allocate_dxbc_section_memory_n
mov dword [esp + 8], 0x6fb6834c
mov dword [esp + 4], 0x6fb5e180
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x6fb54a77

Function at 0x6fb54b50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test byte [0x6fb5e180], 8
jne 0x6fb54bc8
test ebx, ebx
je 0x6fb54bb8
lea eax, [ebx + ebx*2]
shl eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esi + 8], eax
sub esp, 0xc
test eax, eax
je 0x6fb54bf9
mov dword [esi + 4], 0
mov dword [esi], ebx
xor ebx, ebx
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov eax, 0x18
mov ebx, 2
jmp 0x6fb54b71
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.dxbc__p__size__u._n
mov dword [esp + 8], str.dxbc_init
mov dword [esp + 4], 0x6fb5e180
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x6fb54b67
mov ebx, 0x8007000e
test byte [0x6fb5e180], 2
je 0x6fb54ba8
mov dword [esp + 0xc], str.Failed_to_allocate_dxbc_section_memory_n
mov dword [esp + 8], str.dxbc_init
mov dword [esp + 4], 0x6fb5e180
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x6fb54ba8
Function at 0x6fb54fd0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
test byte [0x6fb5e180], 8
jne 0x6fb55010
mov edx, dword [ebx + 8]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.dxbc__p._n
mov dword [esp + 8], str.dxbc_destroy
mov dword [esp + 4], 0x6fb5e180
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x6fb54fe3
Function at 0x6fb553b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 8]
test edi, edi
je 0x6fb554d0
mov edx, dword [ebx]
mov esi, dword fs:[0x18]
jmp 0x6fb55409
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
mov edx, eax
sub esp, 0x10
test edx, edx
je 0x6fb55498
mov dword [ebx], edx
mov dword [ebx + 8], edi
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, edi
sub eax, dword [ebx + 4]
mov dword [esp + 0xc], eax
add edx, dword [ebx + 4]
mov dword [esp + 8], edx
mov dword [esp], 6
mov dword [esp + 4], 0
call dword [sym.imp.ucrtbase.dll___stdio_common_vsprintf]
mov edi, eax
mov eax, dword [ebx + 8]
test edi, edi
js 0x6fb55458
mov edx, dword [ebx + 4]
mov ecx, eax
sub ecx, edx
cmp ecx, edi
ja 0x6fb554b0
lea edi, [eax + eax]
mov eax, dword [ebx]
test eax, eax
jne 0x6fb553d8
mov dword [esp + 8], edi
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, eax
sub esp, 0xc
test edx, edx
jne 0x6fb55404
lea esi, [esi]
nop
test byte [0x6fb5e180], 2
jne 0x6fb55518
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x6fb5e180], 8
jne 0x6fb55548
add edx, edi
mov dword [ebx + 4], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x100
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx], eax
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x6fb5557a
mov dword [ebx + 8], 0x100
mov edi, 0x100
jmp 0x6fb553c9
mov dword [esp + 0xc], str.Error_reallocating_memory_for_parser_messages_n
mov dword [esp + 8], 0x6fb682dc
mov dword [esp + 4], 0x6fb5e180
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add edx, dword [ebx]
mov dword [esp + 0xc], 0x6fb672d4
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0x6fb682dc
mov dword [esp + 4], 0x6fb5e180
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
mov edx, dword [ebx + 4]
jmp 0x6fb554bd
test byte [0x6fb5e180], 2
je 0x6fb554a1
mov dword [esp + 0xc], str.Error_allocating_memory_for_parser_messages_n
mov dword [esp + 8], 0x6fb682dc
mov dword [esp + 4], 0x6fb5e180
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_4
jmp 0x6fb554a1
Function at 0x6fb55660
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
sub esp, 0x10
mov eax, dword [edx + 8]
add dword [ebx + 4], eax
mov eax, dword [edx]
test eax, eax
jne 0x6fb55688
mov dword [ebx + 8], 0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 8], 0x14
mov esi, edx
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 8], eax
sub esp, 0xc
test eax, eax
je 0x6fb5567d
mov edx, dword [esi + 4]
mov dword [eax], edx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 4], edx
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x6fb5a960
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [0x6fb71084], 0
mov dword [0x6fb7108c], 0
mov dword [0x6fb71098], 0
mov dword [0x6fb71094], 0
mov dword [0x6fb7109c], 1
call sym._asmshader_parse
cmp dword [0x6fb7108c], 2
mov ebx, dword [0x6fb71084]
je 0x6fb5aa60
test esi, esi
je 0x6fb5aa80
mov eax, dword [0x6fb71094]
test eax, eax
jne 0x6fb5a9d8
mov dword [esi], 0
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov edx, dword [0x6fb71090]
inc eax
test edx, edx
je 0x6fb5aa98
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
mov dword [esi], eax
test eax, eax
jne 0x6fb5a9cc
test byte [0x6fb5e190], 2
jne 0x6fb5aac8
mov edx, dword [0x6fb71090]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
test ebx, ebx
je 0x6fb5a9b5
mov dword [esp], ebx
xor ebx, ebx
call sym._SlDeleteShader
test esi, esi
jne 0x6fb5a9bd
lea esi, [esi]
mov eax, dword [0x6fb71098]
test eax, eax
jne 0x6fb5aa23
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
jmp 0x6fb5aa10
mov dword [esp + 0xc], 0x6fb69408
mov dword [esp + 8], str.parse_asm_shader
mov dword [esp + 4], 0x6fb5e190
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_5
jmp 0x6fb5aa23

Function at 0x6fb5ac60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x6fb6ab20
mov dword [esp], eax
call sym._fprintf.constprop.0
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll_exit]
lea esi, [esi]
nop
Function at 0x6fb5c940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6fb5c99b
cmp byte [esi + ebx - 1], 0xa
je 0x6fb5c96f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6fb71184], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x413aa0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x471a9b
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.004665b9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x413b22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004644d0
mov eax, dword [eax]
push 0x489230
push eax
call fcn.00456f84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00466844
test bl, bl
je 0x413b22
push 0x489230
lea ecx, [esp + 0xc]
call fcn.00466bd4
push 0x48cdac
lea ecx, [esp + 0xc]
call fcn.00466bd4
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 0x413b5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00466844
jmp 0x413c29
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 0x413be2
lea edx, [esp + 0x7c]
push 0x48cda8
push edx
call fcn.00456f84
add esp, 8
test eax, eax
je 0x413be2
lea eax, [esp + 0x7c]
push 0x48cda4
push eax
call fcn.00456f84
add esp, 8
test eax, eax
je 0x413be2
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 0x413b72
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.00466844
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 0x414420
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 0x414482
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 0x414490
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x471b1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x494f14]
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 0x4145c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4144f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00466844
xor eax, eax
jmp 0x41463f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00466981
push esi
lea ecx, [esp + 0xc]
call fcn.00466c10
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 0x41461d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.00414420
test eax, eax
jne 0x41461d
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.00414420
test eax, eax
jne 0x41461d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00457fc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4145fc
lea ecx, [esp + 0x14]
push 0x48cdbc
push ecx
call fcn.00457f40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4145fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4145ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00466931
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41450e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00466844
xor eax, eax
jmp 0x41463f
mov byte [esi], 0
push 0x48cdb8
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.00466844
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 0x424b80
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 0x424bee
cmp si, 0x69
ja 0x424bee
add esi, 0xffd0
cmp si, 0x11
je 0x424bbe
push 0x11
call edi
test ax, ax
jge 0x424bbe
or esi, 0x2000
cmp si, 0x10
je 0x424bd3
push 0x10
call edi
test ax, ax
jge 0x424bd3
or esi, 0x4000
cmp si, 0x12
je 0x424be8
push 0x12
call edi
test ax, ax
jge 0x424be8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x424bfb
mov esi, 0xbd
jmp 0x424baf
cmp si, 0x6e
jne 0x424c08
mov esi, 0xbe
jmp 0x424baf
cmp si, 0x6f
jne 0x424ba9
mov esi, 0xbf
jmp 0x424baf

Function at 0x4262a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a5ec8]
xor edx, edx
cmp eax, edx
jne 0x4262c6
xor eax, eax
mov byte [eax + 0x4a5dc8], al
inc eax
cmp eax, 0x100
jl 0x4262ae
mov dword [0x4a5ec8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a5dc8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x426357
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 0x42632a
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 0x4262f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4263d0
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 0x426423
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 0x42640a
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
Function at 0x42ce60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x42cff8
cmp ebp, ebx
jle 0x42cff8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x42cebe
dec eax
or eax, 0xfffffff8
inc eax
je 0x42cec5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x42ced4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42cedb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00466585
add esp, 4
cmp eax, ebx
je 0x42cefc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00466585
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42cfee
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x42cfd5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42cfc1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42cfb6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x42cfc4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42cfc4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42cf60
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x42cf51
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret