joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c240
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x56cd6c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call fcn.0049ffd0
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.0047b250
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x47c2aa
mov al, byte [edi + ecx]
test al, al
je 0x47c2aa
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x47c291
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x47c2cb
inc eax
sub ecx, 1
jne 0x47c2c0
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x47c320
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x47c315
lea edi, [ebp - 0x84]
mov eax, SysReAllocString
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x47c314
mov bl, byte [edi + ecx]
test bl, bl
je 0x47c314
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x47c300
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call fcn.0049ffd0
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x5378d4
push str.SoftwareMaster2Liveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x47c3da
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x47c3a4
test cl, cl
je 0x47c3a0
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x47c3a4
add eax, 2
add esi, 2
test cl, cl
jne 0x47c384
xor eax, eax
jmp 0x47c3a9
sbb eax, eax
or eax, 1
test eax, eax
je 0x47c3da
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47c3b6
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.SoftwareMaster2Liveup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47c3e3
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x5378d4
push str.SoftwareMaster2Liveup
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004735b8
mov esp, ebp
pop ebp
ret

Function at 0x481cbd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4d899f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d85a4

Function at 0x4d89aa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d8725
Function at 0x4df3ab
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004deb85

Function at 0x4df3b6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dedc0

Function at 0x4df9f3
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004df77a
Function at 0x4ef690
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call fcn.004efca0
add esp, 8
test al, al
je 0x4ef6b5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4ef6b5
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x4efca0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x4f1150
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4f117b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4f117b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x44a5e0
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 4]
push eax
push 1
push 0
push str.SOFTWAREBorlandDelphiRTL
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44a638
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.FPUMaskValue
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov cl, byte [esp + 0xc]
and cl, 0x3f
test eax, eax
movzx si, cl
je 0x44a665
mov edx, dword [0x4ce8ec]
push 0x4ce5f0
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, esi
pop esi
or eax, 0xffffffc0
add esp, 0x10
ret

Function at 0x4bead3
Capabilities:
Encode data using xor

Disassembly:
insb byte es:[edi], dx
cdq
jae 0x4beadf
or byte [esi + ebp*4], ch
and ch, byte [ecx]
cmp eax, 0x81c9b10a
insb byte es:[edi], dx
scasb al, byte es:[edi]
add byte [edx], ah
sub dword [0x81c9b10a], edi
leave
sbb dword [ecx], 0xc4cd1064
inc ecx
or dh, byte [ebx]
mov dh, 0xb3
das
sbb dword [eax + edx - 0x33], esp
les eax, [ecx + 0xa]
xor esp, dword [esi - 0x4a]
mov bl, 0x2f
sar esi, 0xf1
aam 0x40
fsubp st(0)
xchg byte [edi + 0x51], al
pushal
and eax, 0xd715489a
mov eax, dword [0x53d926c]
xchg esp, eax
fisttp qword [edi - 0x188b44ab]
xlatb
jns 0x4bead6
add ecx, dword [0x1492145c]
out dx, al
lahf
scasb al, byte es:[edi]
int3
Function at 0x4c5d4a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cb498
cmp edx, dword [eax]
je 0x4c5d6c
add eax, 8
inc ecx
cmp eax, 0x4cb528
jl 0x4c5d5d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cb498]
jne 0x4c5e9a
mov eax, dword [0x4cfb7c]
cmp eax, 1
je 0x4c5e74
test eax, eax
jne 0x4c5d9d
cmp dword [0x4cb3d8], 1
je 0x4c5e74
cmp edx, 0xfc
je 0x4c5e9a
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c5dd4
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c6460
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c6690
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c5e17
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c6690
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c96f8
push edi
call fcn.004c7e60
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c6460
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c6470
lea eax, [ebp - 0xa0]
push 0x4c96d8
push eax
call fcn.004c6470
push dword [esi + 0x4cb49c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c6470
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c7dd4
add esp, 0x2c
pop edi
jmp 0x4c5e9a
lea eax, [ebp + 8]
lea esi, [esi + 0x4cb49c]
push 0
push eax
push dword [esi]
call fcn.004c6690
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408966
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
or esi, edi
sub edi, esi
call fcn.0040899f
add esi, edi
xor dword [edx], ecx
add edi, edi
inc edx
and esi, edi
mov edi, 0x6d8726e0
cmp edx, ebx
jne fcn.00408966
add esi, 1
push 0x8aa0143d
mov edi, dword [esp]
add esp, 4
ret
Function at 0x484ea0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5e000]
push edi
or ebp, 0xffffffff
jmp 0x484ec2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x484ec9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484eb8
mov eax, 1
add ebx, ebx
jne 0x484edb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x484eec
jne 0x484f0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484f0b
dec eax
add ebx, ebx
jne 0x484ef8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x484ed0
add ebx, ebx
jne 0x484f07
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x484f5d
xor ecx, ecx
sub eax, 3
jb 0x484f23
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x484f92
sar eax, 1
mov ebp, eax
jmp 0x484f2e
add ebx, ebx
jne 0x484f2e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484efc
inc ecx
add ebx, ebx
jne 0x484f3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484efc
add ebx, ebx
jne 0x484f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x484f3e
jne 0x484f5a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x484f3e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x484f7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x484f6e
jmp 0x484ebe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x484f7c
add edi, ecx
jmp 0x484ebe
pop esi
mov edi, esi
mov ecx, 0x124b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x484f9a
cmp byte [edi], 0x16
jne 0x484f9a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x484f9f
lea edi, [esi + 0x81000]
mov eax, dword [edi]
or eax, eax
je 0x485017
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9a1e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9a254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x484fcc
mov ecx, edi
jns 0x484ffb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9a25c]
or eax, eax
je 0x485011
mov dword [ebx], eax
add ebx, 4
jmp 0x484fe9
call dword [esi + 0x9a258]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x485048
cmp al, 0xef
ja 0x48503b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x48501d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x48502a
mov ebp, dword [esi + 0x9a260]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x48507c
sub esp, 0xffffff80
jmp 0x4205e0
Function at 0x4010f4
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, 0x49807b
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.00401136
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401128
push ebx
call fcn.0041107e
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x401130
mov esp, ebp
pop ebp
ret 8
Function at 0x4019b8
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00411084
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00411084
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x401a3e
push 0x4de7a0
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x40]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0xe
call fcn.00411090
cmp dword [ebp - 0x18], esp
je 0x401a74
push 0x7a
push 0x4013059
push 6
call fcn.0041108a
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0xf
call fcn.00411090
cmp dword [ebp - 0x18], esp
je 0x401aac
push 0xa7
push 0x4013059
push 6
call fcn.0041108a
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push 0x49807b
push 0
mov eax, 0x10
call fcn.00411090
cmp dword [ebp - 0x18], esp
je 0x401ae2
push 0xd1
push 0x4013059
push 6
call fcn.0041108a
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x11
call fcn.00411090
cmp dword [ebp - 0x18], esp
je 0x401b7b
push 0x1e1
push 0x4013059
push 6
call fcn.0041108a
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x12
call fcn.00411090
cmp dword [ebp - 0x18], esp
je 0x401baa
push 0x221
push 0x4013059
push 6
call fcn.0041108a
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x401bb2
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041107e
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041107e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x407c83
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x407cc8
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x407cce
add eax, 4
pop esi
dec esi
push esi
jne 0x407cb0
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x408a40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00408bf0
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x408b3e
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x408ae1
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x408b24
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x408af8
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x408b13
test al, 0x40
je 0x408b0a
mov ecx, dword [edi + 0x20]
jmp 0x408b11
test al, 0x80
je 0x408b24
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x408b24
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x408ab0
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4195b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49160b
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.004862c3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x419632
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004841a9
mov eax, dword [eax]
push 0x4cece4
push eax
call fcn.00476c54
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048654e
test bl, bl
je 0x419632
push 0x4cece4
lea ecx, [esp + 0xc]
call fcn.004868de
push 0x4cecf0
lea ecx, [esp + 0xc]
call fcn.004868de
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 0x41966e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048654e
jmp 0x419739
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 0x4196f2
lea edx, [esp + 0x7c]
push 0x4cecec
push edx
call fcn.00476c54
add esp, 8
test eax, eax
je 0x4196f2
lea eax, [esp + 0x7c]
push 0x4cece8
push eax
call fcn.00476c54
add esp, 8
test eax, eax
je 0x4196f2
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 0x419682
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.0048654e
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 0x419f40
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 0x419fa2
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 0x419fb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49168b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4da728]
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 0x41a0e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41a016
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048654e
xor eax, eax
jmp 0x41a15f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048668b
push esi
lea ecx, [esp + 0xc]
call fcn.0048691a
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 0x41a13d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00419f40
test eax, eax
jne 0x41a13d
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.00419f40
test eax, eax
jne 0x41a13d
lea eax, [esp + 0x14]
push 0x4ced00
push eax
call fcn.00477cd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a11c
lea ecx, [esp + 0x14]
push 0x4cecfc
push ecx
call fcn.00477c50
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a11c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41a11f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048663b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41a02e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048654e
xor eax, eax
jmp 0x41a15f
mov byte [esi], 0
push 0x4cecf8
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.0048654e
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