joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403580
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x18], 0
jle 0x4035b3
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
jmp 0x4035ba
mov dword [ebp - 4], 0x989680
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 8], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x28]
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x28]
fsub qword [ebp - 0x30]
fcomp qword [0x4313c6]
fnstsw ax
test ah, 1
je 0x403681
push 1
push dword [ebp + 8]
push 1
push dword [ebp + 0x10]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
call fcn.00403691
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
call fcn.004036e8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40365f
mov eax, 1
jmp 0x40368b
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push 0
push 0x32
call fcn.004027ee
jmp 0x4035cf
mov eax, 0
jmp 0x40368b
mov esp, ebp
pop ebp
ret 0x18

Function at 0x40536c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x4053b3
cmp ebx, 0x20
je 0x4053b3
cmp ebx, 0xffffffe0
je 0x4053b3
jne 0x4053bc
add eax, 1
cmp esi, eax
je 0x4053c9
jne 0x405398
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x4053cd
jne 0x405394
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4
Function at 0x4053e1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x4054a2
test ecx, ecx
je 0x4054a2
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x4054a2
test ebx, ebx
je 0x4054a2
mov ebx, eax
add ebx, edx
je 0x4054a2
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x4054a2
cmp dword [edx + eax + 0x14], 0
je 0x4054a2
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x4054a2
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x405492
test dl, dl
je 0x40548e
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x405492
add edi, 2
add esi, 2
test dl, dl
jne 0x405472
xor eax, eax
jmp 0x405497
sbb eax, eax
or eax, 1
test eax, eax
je 0x4054ae
inc ebp
cmp ebp, dword [esp + 4]
jb 0x40545f
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x40640f
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40643d
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x406434
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40642c
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40645e
mov esp, ebp
pop ebp
ret

Function at 0x406462
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x4064ce
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4064fb
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4064ea
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4064db
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x406521
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x4064c2
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40654d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4080c0
Capabilities:
Query environment variable

Disassembly:
push ebp
push esi
push edi
push 0x104
call fcn.00407460
mov ebp, dword [esp + 0x18]
add esp, 4
mov edi, eax
push 0x104
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, 0x104
jbe 0x408117
push ebx
push edi
call fcn.00407500
push esi
mov ebx, esi
call fcn.00407460
add esp, 8
mov edi, eax
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
ja 0x4080ee
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4081b0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebp
push esi
push edi
push eax
call fcn.00408d30
mov edi, dword [esp + 0x28]
mov ebp, eax
push edi
xor esi, esi
call dword [0x431fa0]
add esp, 8
test ebp, ebp
je 0x40827a
test eax, eax
je 0x40827a
inc eax
push ebx
push eax
call fcn.00409067
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00409040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40821c
mov byte [esi], 0
inc esi
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408256
mov ecx, dword [esp + 0x10]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x408269
mov eax, dword [esp + 0x28]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push ebx
call fcn.00409031
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x408290
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
ja 0x408311
je 0x408302
cmp eax, 0x80000101
ja 0x4082fb
je 0x408302
cmp eax, 0x80000004
je 0x4082dc
cmp eax, 0x80000005
jne 0x408326
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 3
test eax, eax
je 0x408373
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x408373
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 1
push eax
call dword [0x431fa0]
mov ebp, dword [esp + 0x44]
mov ebx, eax
add esp, 4
inc ebx
jmp 0x408373
cmp eax, 0x80000201
jne 0x408326
mov ebx, 4
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebx
jmp 0x408373
cmp eax, 0x80000401
je 0x40835e
cmp eax, 0x80000501
je 0x408346
cmp eax, 0x80000601
je 0x40832e
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call fcn.00408f68
mov dword [esp + 0xc], eax
jmp 0x40836f
fld dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call fcn.00408f68
mov dword [esp + 0xc], eax
jmp 0x40836f
mov ecx, dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea ebp, [esp + 0xc]
mov edx, dword [esp + 0x28]
push esi
push edx
call fcn.00408d30
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 0
call dword [0x431fa0]
add esp, 8
test esi, esi
je 0x40844c
test eax, eax
je 0x40844c
inc eax
push edi
push eax
call fcn.00409067
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00409040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4083ee
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x408442
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x408437
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00409031
add esp, 4
pop edi
mov eax, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x4084c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x4084de
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x4084d3
pop esi
ret
Function at 0x40ef90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
mov esi, eax
call fcn.00454c90
mov dword [eax + 4], edi
mov dword [eax], 0x462615
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, ebx
call fcn.0040a1f0
mov dword [esp], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.failed_to_delete_file__s__error__ld_n
call fcn.0040ad90
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4113e0
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov dword [esp + 4], 0x4832c0
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
mov edx, 0x4832c0
sub esp, 8
cmp word [0x4832c0], 0
je 0x411419
add edx, 2
cmp word [edx], 0
jne 0x411410
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + str.wine_test_font.ttf]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x411420
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc0000000
mov dword [esp], 0x4832c0
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov esi, eax
call fcn.00454c90
mov dword [eax], 0x462615
mov dword [eax + 4], 0x223
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, 0x4832c0
call fcn.0040a1f0
mov dword [esp + 4], str.file_creation_failed__at__s__error__ld_n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.0040ad90
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [esp], 0
call edi
sub esp, 4
mov dword [esp + 8], 0xa
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindResourceA]
sub esp, 0xc
mov ebx, eax
call fcn.00454c90
mov dword [eax], 0x462615
mov dword [eax + 4], 0x227
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 4], str.couldnt_find_resource_n
mov dword [esp], eax
call fcn.0040ad90
mov dword [esp], 0
call edi
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadResource]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LockResource]
sub esp, 4
mov dword [ebp - 0x14], eax
mov dword [esp], 0
call edi
mov edx, dword [sym.imp.kernel32.dll_SizeofResource]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x18], edx
call edx
lea ecx, [ebp - 0x10]
sub esp, 8
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
call fcn.00454c90
mov dword [eax], 0x462615
mov dword [eax + 4], 0x22a
mov dword [esp], 0
call edi
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
mov edx, dword [ebp - 0x18]
call edx
sub esp, 8
mov dword [esp + 4], str.couldnt_write_resource_n
cmp dword [ebp - 0x10], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0040ad90
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 0x4832c0
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x454be0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [esp], 1
call dword [0x45c354]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x456090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00456150
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0x10020313
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x10020322
pop dword [ebp - 4]
mov eax, 0xf812c3c3
sub eax, 0xe810c0a1
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x6f14b5cc
sub dword [ebp - 0x14], 0x20c27081
mov dword [ebp - 0x10], 0x658df7de
add dword [ebp - 0x10], 0xcca55467
mov dword [ebp - 0xc], 0x99852b1
sub dword [ebp - 0xc], 0xbd4c0e83
mov dword [ebp - 8], 0xa6a1d554
sub dword [ebp - 8], 0xa6a1d554
lea eax, [ebp - 0x14]
push eax
mov eax, 0x769d0340
sub eax, 0x669ae2fc
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x64c5797b
sub dword [ebp - 0x14], 0xf0531025
mov dword [ebp - 0x10], 0x9276bf7c
sub dword [ebp - 0x10], 0x510a5e07
mov dword [ebp - 0xc], 0x7f4da472
sub dword [ebp - 0xc], 0x1bde3806
mov dword [ebp - 8], 0xad4d0b1d
sub dword [ebp - 8], 0xad4d0b1d
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x37bdc
push 0
call eax
mov ecx, 0x464b
xor ebx, ebx
add ebx, eax
mov edx, 0x476d912
sub edx, 0xf473bd12
add edx, dword [ebp - 4]
mov edi, 0x170ae893
mov esi, dword [edx]
xor esi, edi
mov dword [ebx], esi
add ebx, 0x3870ff09
add ebx, 0xc78f00fb
add edx, 0xa65005fa
sub edx, 0xa65005f6
loop 0x10020435
add eax, 0x10bff
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xa5f7d3f3
sub ecx, 0x95f7d3f3
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x41ff80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b16cb
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.004a5f06
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x420002
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a3c3f
mov eax, dword [eax]
push 0x7b3d34
push eax
call fcn.00495414
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a6191
test bl, bl
je 0x420002
push 0x7b3d34
lea ecx, [esp + 0xc]
call fcn.004a6521
push 0x7b3d40
lea ecx, [esp + 0xc]
call fcn.004a6521
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 0x42003e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a6191
jmp 0x420109
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 0x4200c2
lea edx, [esp + 0x7c]
push 0x7b3d3c
push edx
call fcn.00495414
add esp, 8
test eax, eax
je 0x4200c2
lea eax, [esp + 0x7c]
push 0x7b3d38
push eax
call fcn.00495414
add esp, 8
test eax, eax
je 0x4200c2
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 0x420052
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.004a6191
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 0x420910
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 0x420972
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 0x420980
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b174b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7c5088]
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 0x420ab8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4209e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a6191
xor eax, eax
jmp 0x420b2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a62ce
push esi
lea ecx, [esp + 0xc]
call fcn.004a655d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7b3d74
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x420b0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00420910
test eax, eax
jne 0x420b0d
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.00420910
test eax, eax
jne 0x420b0d
lea eax, [esp + 0x14]
push 0x7b3d50
push eax
call fcn.00496580
mov esi, eax
add esp, 8
test esi, esi
jne 0x420aec
lea ecx, [esp + 0x14]
push 0x7b3d4c
push ecx
call fcn.00496500
mov esi, eax
add esp, 8
test esi, esi
jne 0x420aec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x420aef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a627e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4209fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a6191
xor eax, eax
jmp 0x420b2f
mov byte [esi], 0
push 0x7b3d48
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.004a6191
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