joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c1470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x50fcb0]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push edi
push 0
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x34], 0
call fcn.00482ad0
mov ebx, dword [sym.imp.MSVCR71.dll_free]
add esp, 0x1c
test esi, esi
je 0x483f26
lea edx, [esp + 0x24]
push edx
mov edx, edi
lea ecx, [esp + 0x10]
call fcn.00482d80
add esp, 4
push eax
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.00477380
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x483f26
dec ecx
mov dword [eax], ecx
jne 0x483f26
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x483f40
dec ecx
mov dword [eax], ecx
jne 0x483f40
push eax
call ebx
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4c14a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x50fcb0]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov edi, dword [esp + 0x2c]
push edi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
mov byte [esp + 0x3c], 3
call fcn.00482ad0
add esp, 0x1c
push edi
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00482ec0
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004725c0
lea edx, [esp + 8]
push edx
lea ecx, [esi + 0x18]
call fcn.004725c0
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x14]
call fcn.004725c0
mov cl, byte [esp + 0x2c]
mov eax, dword [esp + 8]
add eax, 0xfffffff4
mov byte [esi + 0x1d], cl
mov ecx, dword [eax]
cmp ecx, 0xffffffff
mov esi, dword [sym.imp.MSVCR71.dll_free]
je 0x484022
dec ecx
mov dword [eax], ecx
jne 0x484022
push eax
call esi
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x48403c
dec ecx
mov dword [eax], ecx
jne 0x48403c
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x484056
dec ecx
mov dword [eax], ecx
jne 0x484056
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x484070
dec ecx
mov dword [eax], ecx
jne 0x484070
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x484340
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c1548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [esp + 8], 0
mov eax, dword [0x50fcb0]
mov dword [esp + 4], eax
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 8], eax
mov edx, dword [esp + 0x20]
push 0
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x28], 2
call fcn.00483e90
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
add esp, 0x14
test ecx, ecx
lea ecx, [esp]
jne 0x4843db
push 0x105
call fcn.00472770
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp]
call fcn.00471a60
mov ecx, dword [esp]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4843ec
push 0x2e
lea ecx, [esp + 4]
call fcn.00472d70
jmp 0x4843ec
push 1
push 0x4e53ec
push 0x4ca168
call fcn.00473ce0
push ebx
push 0x105
lea ecx, [esp + 0xc]
call fcn.00472770
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 8]
inc bl
call fcn.00471a60
test bl, bl
pop ebx
je 0x484436
mov ecx, dword [0x4e4f74]
push ecx
push 0
lea ecx, [esp + 0xc]
call fcn.00472f20
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x484473
call fcn.004758f0
test eax, eax
je 0x484463
push 0
push str.Failed_to_create_a_temporary_file_name
mov ecx, eax
call fcn.00475d60
push eax
call fcn.00476a00
add esp, 4
jmp 0x4844ca
mov eax, str.Failed_to_create_a_temporary_file_name
push eax
call fcn.00476a00
add esp, 4
jmp 0x4844ca
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4844ca
cmp dword [ecx], 0xffffffff
jne 0x4844ca
push 0x180
push 1
push eax
call fcn.00480b10
test al, al
jne 0x4844ca
call fcn.004758f0
test eax, eax
je 0x4844aa
push 0
push str.Failed_to_open_temporary_file.
mov ecx, eax
call fcn.00475d60
jmp 0x4844af
mov eax, str.Failed_to_open_temporary_file.
push eax
call fcn.00476670
mov edx, dword [0x4e4f74]
add esp, 4
push edx
push 0
lea ecx, [esp + 0xc]
call fcn.00472f20
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 8]
test eax, eax
push esi
push edi
mov edi, dword [esp + 0x24]
jne 0x4844e4
mov eax, dword [0x50fcb0]
mov dword [edi], eax
jmp 0x4844f2
mov dword [edi], ecx
mov eax, dword [ecx - 0xc]
cmp eax, 0xffffffff
je 0x4844f2
inc eax
mov dword [ecx - 0xc], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
mov esi, dword [sym.imp.MSVCR71.dll_free]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x484512
dec ecx
mov dword [eax], ecx
jne 0x484512
push eax
call esi
add esp, 4
mov eax, dword [esp + 8]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x48452c
dec ecx
mov dword [eax], ecx
jne 0x48452c
push eax
call esi
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x484546
dec ecx
mov dword [eax], ecx
jne 0x484546
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x484d30
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4c15f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x50fcb0]
mov dword [esp], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call fcn.00473aa0
push 1
push str.
push 0x4d11c8
lea ecx, [esp + 0xc]
call fcn.00473ce0
push 1
push 0x4dbc90
push 0x4d426c
lea ecx, [esp + 0xc]
call fcn.00473ce0
mov eax, dword [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x484dba
dec ecx
mov dword [eax], ecx
jne 0x484dba
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4890b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c195b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov dword [esp], 0
mov eax, dword [0x50fcb0]
push esi
mov dword [esp + 4], eax
push 0x104
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x11c], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 8]
push edx
lea ecx, [esp + 8]
call fcn.00472da0
push 0x5c
push 1
lea ecx, [esp + 0xc]
call fcn.00472d10
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
mov esi, dword [esp + 0x11c]
jne 0x48912e
mov ecx, dword [0x50fcb0]
mov dword [esi], ecx
jmp 0x489140
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x489140
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 4]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x48915a
dec ecx
mov dword [eax], ecx
jne 0x48915a
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov ecx, dword [esp + 0x10c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x48dcc8
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x4e80e8
call fcn.0048e1e8
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x48dd08
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48dd08
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x48dd20
cmp eax, 0x20b
je 0x48dd0d
mov dword [ebp - 0x1c], ebx
jmp 0x48dd34
cmp dword [ecx + 0x84], 0xe
jbe 0x48dd08
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x48dd2e
cmp dword [ecx + 0x74], 0xe
jbe 0x48dd08
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x528958], 0xffffffff
or dword [0x52895c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x528950]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x52894c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x528954], eax
call fcn.0048e246
call fcn.0048e2e6
cmp dword [0x512ee0], ebx
jne 0x48dd94
push fcn.0048e2e6
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0048e2d4
push 0x507738
push 0x507734
call sub.MSVCR71.dll__initterm
push 0x48e28a
call fcn.0048dcaa
mov eax, dword [0x528948]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x528944]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x48dde8
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x507730
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x48de66
cmp al, bl
je 0x48de12
cmp dword [ebp - 0x20], ebx
jne 0x48de66
mov al, byte [esi]
cmp al, bl
je 0x48de22
cmp al, 0x20
ja 0x48de22
inc esi
mov dword [ebp - 0x24], esi
jmp 0x48de12
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x48de3e
movzx eax, word [ebp - 0x54]
jmp 0x48de41
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00403040
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x48de5e
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x48debb
cmp al, 0x22
jne 0x48de75
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x48de88
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x48de00
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0048e223
ret
Function at 0x4ad130
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 8
cmp eax, 3
jne 0x4ad17d
mov eax, dword [esp + 0x18]
test eax, eax
mov ecx, dword [esp + 0xc]
jle 0x4ad16b
movzx edx, word [ecx + 0x118]
cmp eax, edx
jg 0x4ad16b
push eax
mov eax, dword [esp + 0x14]
push eax
push str.tRNS
push ecx
call fcn.004ac330
add esp, 0x10
add esp, 8
ret
push str.Invalid_number_of_transparent_colors_specified
push ecx
call fcn.004aae00
add esp, 8
add esp, 8
ret
test eax, eax
push esi
jne 0x4ad1d9
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + 8]
mov edx, dword [esp + 0x10]
mov cl, byte [edx + 0x127]
mov esi, 1
shl esi, cl
cmp eax, esi
jl 0x4ad1b2
push str.Ignoring_attempt_to_write_tRNS_chunk_out_of_range_for_bit_depth
push edx
call fcn.004aae00
add esp, 8
pop esi
add esp, 8
ret
mov ecx, eax
mov byte [esp + 5], al
push 2
lea eax, [esp + 8]
push eax
shr ecx, 8
push str.tRNS
push edx
mov byte [esp + 0x14], cl
call fcn.004ac330
add esp, 0x10
pop esi
add esp, 8
ret
cmp eax, 2
jne 0x4ad259
mov esi, dword [esp + 0x18]
movzx eax, word [esi + 2]
mov ecx, eax
mov byte [esp + 5], al
movzx eax, word [esi + 4]
push ebx
movzx ebx, word [esi + 6]
mov esi, dword [esp + 0x14]
mov edx, eax
mov byte [esp + 0xb], al
mov eax, ebx
mov byte [esp + 0xd], bl
mov bl, byte [esi + 0x127]
shr ecx, 8
shr edx, 8
shr eax, 8
cmp bl, 8
mov byte [esp + 8], cl
mov byte [esp + 0xa], dl
mov byte [esp + 0xc], al
pop ebx
jne 0x4ad23f
or al, dl
or al, cl
je 0x4ad23f
push str.Ignoring_attempt_to_write_16_bit_tRNS_chunk_when_bit_depth_is_8
push esi
call fcn.004aae00
add esp, 8
pop esi
add esp, 8
ret
push 6
lea ecx, [esp + 8]
push ecx
push str.tRNS
push esi
call fcn.004ac330
add esp, 0x10
pop esi
add esp, 8
ret
mov edx, dword [esp + 0x10]
push 0x4eb038
push edx
call fcn.004aae00
add esp, 8
pop esi
add esp, 8
ret
Function at 0x4ad270
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
cmp eax, 3
push ebx
push esi
jne 0x4ad2d9
mov eax, dword [esp + 0x14]
mov cx, word [eax + 0x118]
test cx, cx
mov edx, dword [esp + 0x18]
jne 0x4ad29b
test byte [eax + 0x230], 1
jne 0x4ad2b8
movzx si, byte [edx]
cmp si, cx
jbe 0x4ad2b8
push str.Invalid_background_palette_index
push eax
call fcn.004aae00
add esp, 8
pop esi
pop ebx
add esp, 8
ret
mov cl, byte [edx]
push 1
lea edx, [esp + 0xc]
push edx
push str.bKGD
push eax
mov byte [esp + 0x18], cl
call fcn.004ac330
add esp, 0x10
pop esi
pop ebx
add esp, 8
ret
test al, 2
je 0x4ad358
mov esi, dword [esp + 0x18]
movzx eax, word [esi + 2]
movzx ebx, word [esi + 6]
mov ecx, eax
mov byte [esp + 9], al
movzx eax, word [esi + 4]
mov esi, dword [esp + 0x14]
mov edx, eax
mov byte [esp + 0xb], al
mov eax, ebx
mov byte [esp + 0xd], bl
mov bl, byte [esi + 0x127]
shr ecx, 8
shr edx, 8
shr eax, 8
cmp bl, 8
mov byte [esp + 8], cl
mov byte [esp + 0xa], dl
mov byte [esp + 0xc], al
jne 0x4ad33d
or al, dl
or al, cl
je 0x4ad33d
push str.Ignoring_attempt_to_write_16_bit_bKGD_chunk_when_bit_depth_is_8
push esi
call fcn.004aae00
add esp, 8
pop esi
pop ebx
add esp, 8
ret
push 6
lea eax, [esp + 0xc]
push eax
push str.bKGD
push esi
call fcn.004ac330
add esp, 0x10
pop esi
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + 8]
mov edx, dword [esp + 0x14]
mov cl, byte [edx + 0x127]
mov esi, 1
shl esi, cl
cmp eax, esi
jl 0x4ad389
push str.Ignoring_attempt_to_write_bKGD_chunk_out_of_range_for_bit_depth
push edx
call fcn.004aae00
add esp, 8
pop esi
pop ebx
add esp, 8
ret
mov ecx, eax
mov byte [esp + 9], al
push 2
lea eax, [esp + 0xc]
push eax
shr ecx, 8
push str.bKGD
push edx
mov byte [esp + 0x18], cl
call fcn.004ac330
add esp, 0x10
pop esi
pop ebx
add esp, 8
ret
Function at 0x18137024
Capabilities:
Packed with generic packer

Disassembly:
stc
jb 0x1813702d
xor ebx, dword [ecx - 0x6bccb82b]
pushal
jb 0x18137034
or eax, 0xe8acb101
pop es
add byte [eax], al
add ah, dl
aam 0xaf
call 0x18137040
aam 0xd4
scasd eax, dword es:[edi]
jl 0x1813706b
cmp al, 0x56
pop esi
jb 0x18137049
and eax, 0xc2e83880
and eax, dword [ecx - 0x383a]
invalid
add esi, 0xffffffc7
jmp 0x18137055
cmp dword [esi], 0
clc
jae 0x1813705c
xor dword [edi], ecx
test byte [eax + eax + 0x72f90000], cl
add al, 0x4c
je 0x181370ee
stc
jb 0x18137069
dec esp
in eax, dx
popfd
lds ecx, [ebx - 0x24f71432]
shl byte [ebx + 0x2c25628a], 1
xchg ebp, eax
mov ecx, esi
jmp 0x18137075
add esi, 4
jmp 0x18137082
mov edx, dword [esi]
jmp 0x1813708b
add edx, esi
stc
jb 0x18137095
push ebx
push ecx
sti
cmp eax, 0x4468b26
mov eax, dword [esi + 4]
jmp 0x1813709d
sub dword [edx], 0x4ff30f25
jmp 0x181370aa
add edx, 4
jmp 0x181370b1
sub eax, 1
stc
jmp 0x181370b8
jne 0x18137098
jmp 0x181370c3
add esi, 8
jmp 0x181370cf
sub dword [ecx], 1
clc
jae 0x181370d9
invalid
jne 0x18137078
stc
jmp 0x181370e3
mov ebx, esi
clc
jae 0x181370e9
call fcn.181370fc
call fcn.181370fc
jmp 0x181370f2
popal
clc
jmp 0x181370f7
jmp 0x18134150
Function at 0x40234f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push edi
xor eax, eax
push eax
xor eax, eax
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
push eax
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
test eax, eax
jne 0x402381
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
push 8
pop eax
push eax
call dword [0x4bc4cc]
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 4], eax
mov esi, dword [ebp + 8]
mov dword [esi], edi
add esp, 4
mov eax, dword [edi]
pop edi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x419cd0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48fe4b
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.004845e3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x419d52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00481bf7
mov eax, dword [eax]
push 0x4c7260
push eax
call fcn.00473794
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048486e
test bl, bl
je 0x419d52
push 0x4c7260
lea ecx, [esp + 0xc]
call fcn.00484bfe
push 0x4cadb8
lea ecx, [esp + 0xc]
call fcn.00484bfe
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 0x419d8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048486e
jmp 0x419e59
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 0x419e12
lea edx, [esp + 0x7c]
push 0x4cadb4
push edx
call fcn.00473794
add esp, 8
test eax, eax
je 0x419e12
lea eax, [esp + 0x7c]
push 0x4cadb0
push eax
call fcn.00473794
add esp, 8
test eax, eax
je 0x419e12
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 0x419da2
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.0048486e
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 0x41a650
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 0x41a6b2
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 0x41a6c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48fecb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d9848]
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 0x41a7f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41a726
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048486e
xor eax, eax
jmp 0x41a86f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004849ab
push esi
lea ecx, [esp + 0xc]
call fcn.00484c3a
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 0x41a84d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041a650
test eax, eax
jne 0x41a84d
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.0041a650
test eax, eax
jne 0x41a84d
lea eax, [esp + 0x14]
push 0x4cadcc
push eax
call fcn.004748a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a82c
lea ecx, [esp + 0x14]
push 0x4cadc8
push ecx
call fcn.00474820
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a82c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41a82f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048495b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41a73e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048486e
xor eax, eax
jmp 0x41a86f
mov byte [esi], 0
push 0x4cadc4
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.0048486e
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 0x42c500
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 0x42c56e
cmp si, 0x69
ja 0x42c56e
add esi, 0xffd0
cmp si, 0x11
je 0x42c53e
push 0x11
call edi
test ax, ax
jge 0x42c53e
or esi, 0x2000
cmp si, 0x10
je 0x42c553
push 0x10
call edi
test ax, ax
jge 0x42c553
or esi, 0x4000
cmp si, 0x12
je 0x42c568
push 0x12
call edi
test ax, ax
jge 0x42c568
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42c57b
mov esi, 0xbd
jmp 0x42c52f
cmp si, 0x6e
jne 0x42c588
mov esi, 0xbe
jmp 0x42c52f
cmp si, 0x6f
jne 0x42c529
mov esi, 0xbf
jmp 0x42c52f

Function at 0x42ddc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ea138]
xor edx, edx
cmp eax, edx
jne 0x42dde6
xor eax, eax
mov byte [eax + 0x4ea038], al
inc eax
cmp eax, 0x100
jl 0x42ddce
mov dword [0x4ea138], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4ea038
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42de77
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 0x42de4a
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 0x42de18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42def0
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 0x42df43
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 0x42df2a
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