joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ac40
Capabilities:
Create directory

Disassembly:
sub esp, 0x20c
mov eax, dword [0x42afb8]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
push ebp
push esi
push edi
push ebx
lea eax, [esp + 0x118]
push eax
mov byte [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebp, dword [sym.imp.MSVCR80.dll__mbstok]
lea ecx, [esp + 0x114]
push 0x421d8c
push ecx
call ebp
mov esi, eax
movzx eax, byte [ebx]
add esp, 8
sub eax, 0x5c
jne 0x41ac9e
movzx eax, byte [ebx + 1]
sub eax, 0x5c
je 0x41acac
test eax, eax
mov ecx, 1
jg 0x41acae
or ecx, 0xffffffff
jmp 0x41acae
xor ecx, ecx
test ecx, ecx
jne 0x41acd1
push esi
lea edx, [esp + 0x14]
push str._s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x421d8c
push 0
call ebp
add esp, 0x14
mov esi, eax
test esi, esi
je 0x41ad52
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x41ace0
cmp byte [esp + 0x10], 0
jne 0x41acec
cmp byte [ebx], 0x5c
jne 0x41acf8
push 0x421d8c
lea eax, [esp + 0x14]
push eax
call edi
push esi
lea ecx, [esp + 0x14]
push ecx
call edi
push 0x421d8c
push 0
call ebp
add esp, 8
cmp byte [esp + 0x10], 0
mov esi, eax
je 0x41ad4e
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x10]
sub ecx, 1
cmp byte [eax + ecx], 0x3a
je 0x41ad4e
lea edx, [esp + 0x10]
push edx
call fcn.00404cd0
add esp, 4
test eax, eax
jne 0x41ad4e
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41ad70
test esi, esi
jne 0x41ace0
mov eax, 1
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041ce52
add esp, 0x20c
ret
xor eax, eax
jmp 0x41ad57

Function at 0x41b040
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push edi
push eax
mov dword [esp + 0x24], 4
call ebx
test eax, eax
je 0x41b099
mov esi, dword [esi + 4]
test esi, esi
je 0x41b091
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push edi
push esi
call ebx
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x41b09d
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
Function at 0x41b0b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
push edi
mov dword [esp + 0x10], ecx
jne 0x41afa7
lea esi, [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push 0
lea eax, [esp + 0x28]
push eax
push 0
mov dword [esi], 0
mov edi, dword [ecx]
push ebx
push edi
call ebp
test eax, eax
je 0x41afea
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x41afe6
push esi
push 0
lea edx, [esp + 0x28]
push edx
push 0
mov edi, ecx
push ebx
push edi
call ebp
test eax, eax
jne 0x41b017
mov eax, dword [esi]
push eax
call fcn.0041c818
add esp, 4
push esi
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push ebx
push edi
mov dword [esp + 0x34], eax
call ebp
test eax, eax
je 0x41b023
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
jmp 0x41af90

Function at 0x41b0c0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
mov esi, 0x3f5
je 0x41b0f1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push ebp
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov edi, dword [edi + 0xc]
test edi, edi
je 0x41b104
test esi, esi
jne 0x41b10d
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push ebp
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 0x10

Function at 0x41b180
Capabilities:
Delete registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
push edi
mov edi, dword [esp + 0x10]
je 0x41b19a
push edi
push eax
call ebx
mov eax, dword [esi + 8]
push edi
push eax
call ebx
pop edi
pop esi
pop ebx
ret 4
Function at 0x41b1b0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x108
mov eax, dword [0x42afb8]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov eax, dword [edi]
xor esi, esi
test eax, eax
je 0x41b23f
push 0x100
lea ecx, [esp + 0x18]
push ecx
push esi
push eax
call ebp
test eax, eax
jne 0x41b23f
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
call fcn.0041c818
mov ebx, eax
add esp, 4
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x10]
push ebx
call fcn.00404c40
mov edx, dword [edi]
push 0x100
lea ecx, [esp + 0x18]
push ecx
add esi, 1
push esi
push edx
call ebp
test eax, eax
je 0x41b1f5
test esi, esi
jne 0x41b2a7
mov eax, dword [edi + 4]
test eax, eax
je 0x41b2a7
push 0x100
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
call ebp
test eax, eax
jne 0x41b2a7
lea esp, [esp]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
call fcn.0041c818
mov ebx, eax
add esp, 4
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x10]
push ebx
call fcn.00404c40
mov edx, dword [edi + 4]
push 0x100
lea ecx, [esp + 0x18]
push ecx
add esi, 1
push esi
push edx
call ebp
test eax, eax
je 0x41b260
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0041ce52
add esp, 0x108
ret 4
Function at 0x41b2d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
mov eax, dword [0x42afb8]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
mov ebp, dword [esp + 0x114]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
xor esi, esi
test eax, eax
mov dword [esp + 0x10], 0x100
je 0x41b37c
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x41b37c
jmp 0x41b320
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
call fcn.0041c818
add esp, 4
lea ecx, [esp + 0x14]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
mov ecx, ebp
call fcn.00404c40
mov ecx, dword [edi]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
add esi, 1
push esi
push ecx
mov dword [esp + 0x30], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x41b320
test esi, esi
jne 0x41b3fb
mov eax, dword [edi + 4]
test eax, eax
je 0x41b3fb
push 0
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
push ecx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x41b3fb
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
call fcn.0041c818
mov ebx, eax
add esp, 4
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
mov ecx, ebp
call fcn.00404c40
mov eax, dword [edi + 4]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
add esi, 1
push esi
push eax
mov dword [esp + 0x30], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x41b3a2
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0041ce52
add esp, 0x108
ret 4
Function at 0x41b420
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x41fedb
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x42afb8]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x14c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 0x15c]
lea edx, [esp + 0x14]
push edx
push ecx
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
cmp eax, edi
jne 0x41b5e9
xor ecx, ecx
mov eax, 0x20
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x1c], vtable.Table_char__char__.0
neg ecx
or ecx, eax
push ecx
call fcn.0041c818
xor ebx, ebx
mov dword [esp + 0x28], ebx
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0x1f
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0x40
mov dword [esp + 0x38], 0x401330
mov dword [esp + 0x154], edi
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x105
lea eax, [esp + 0x44]
push eax
push edi
push ecx
mov dword [esp + 0x3c], 1
call ebp
test eax, eax
jne 0x41b54d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x40]
push edx
call ebx
add eax, 1
push eax
call fcn.0041c818
mov esi, eax
add esp, 4
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea ecx, [esp + 0x20]
call fcn.00404c40
mov edx, dword [esp + 0x14]
push 0x105
lea ecx, [esp + 0x44]
push ecx
add edi, 1
push edi
push edx
call ebp
test eax, eax
je 0x41b505
mov ebx, dword [esp + 0x24]
xor esi, esi
test ebx, ebx
jle 0x41b57b
cmp esi, ebx
jge 0x41b564
test esi, esi
jl 0x41b564
mov eax, dword [esp + 0x20]
mov eax, dword [eax + esi*4]
jmp 0x41b566
xor eax, eax
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0041b420
add esi, 1
add esp, 8
cmp esi, ebx
jl 0x41b557
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, eax
mov dword [esp + 0x154], 0xffffffff
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x1c], vtable.Table_char__char__.0
je 0x41b5da
xor esi, esi
test ebx, ebx
jle 0x41b5da
cmp esi, ebx
jge 0x41b5c9
test esi, esi
jl 0x41b5c9
mov edx, dword [esp + 0x20]
mov eax, dword [edx + esi*4]
jmp 0x41b5cb
xor eax, eax
push eax
call dword [esp + 0x3c]
add esi, 1
add esp, 4
cmp esi, ebx
jl 0x41b5bc
mov eax, dword [esp + 0x20]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.0041ce52
add esp, 0x144
ret
Function at 0x41b630
Capabilities:
Get file version info

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x10]
push eax
push ebx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x41b671
pop edi
mov dword [esi], 3
pop esi
pop ebx
ret 4
push edi
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
push eax
push edi
push 0
push ebx
mov dword [esi + 4], eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x41b691
mov dword [esi], 4
pop edi
pop esi
pop ebx
ret 4

Function at 0x41c170
Capabilities:
Resume thread

Disassembly:
push esi
mov ecx, 0x43431c
call fcn.0041c7a0
mov eax, dword [esp + 8]
push eax
call fcn.0041bc90
mov esi, eax
add esp, 4
test esi, esi
je 0x41c1a2
cmp dword [esi + 8], 1
jne 0x41c1a2
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x41c1b2
mov ecx, 0x43431c
xor esi, esi
call fcn.0041c800
mov eax, esi
pop esi
ret
mov dword [esi + 8], 2
mov ecx, 0x43431c
mov esi, 1
call fcn.0041c800
mov eax, esi
pop esi
ret

Function at 0x41c1d0
Capabilities:
Suspend thread

Disassembly:
push esi
mov ecx, 0x43431c
call fcn.0041c7a0
mov eax, dword [esp + 8]
push eax
call fcn.0041bc90
add esp, 4
test eax, eax
jne 0x41c1fc
mov ecx, 0x43431c
xor esi, esi
call fcn.0041c800
mov eax, esi
pop esi
ret
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov ecx, 0x43431c
mov esi, edx
call fcn.0041c800
mov eax, esi
pop esi
ret

Function at 0x41c220
Capabilities:
Terminate thread

Disassembly:
push esi
mov ecx, 0x43431c
call fcn.0041c7a0
mov eax, dword [esp + 8]
push eax
call fcn.0041bc90
mov esi, eax
add esp, 4
test esi, esi
je 0x41c24d
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x41c25d
mov ecx, 0x43431c
xor esi, esi
call fcn.0041c800
mov eax, esi
pop esi
ret
push esi
call fcn.0041bc20
mov edx, dword [esi]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x43431c
mov dword [esi + 8], 0
call fcn.0041c800
mov eax, dword [esi + 0x20]
test eax, eax
je 0x41c290
push eax
call fcn.0041bd80
add esp, 4
mov eax, dword [esi + 0x24]
test eax, eax
je 0x41c2a0
push eax
call fcn.0041bd80
add esp, 4
mov ecx, 0x43431c
call fcn.0041c7a0
mov ecx, esi
call fcn.0041bbc0
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, 0x43431c
mov esi, 1
call fcn.0041c800
mov eax, esi
pop esi
ret
Function at 0x41c590
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x42001c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ecx, 0x43431c
call fcn.0041c7a0
xor ebx, ebx
push 0x30
mov dword [esp + 0x18], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x41c5e8
mov ecx, eax
call fcn.0041b7b0
mov esi, eax
jmp 0x41c5ea
xor esi, esi
or ebp, 0xffffffff
mov dword [esp + 0x24], ebp
cmp esi, ebx
jne 0x41c5fc
xor edi, edi
jmp 0x41c70f
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
push 4
push esi
push 0x41c3b0
push ebx
push ebx
mov dword [esi + 0x10], eax
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
jne 0x41c626
xor edi, edi
jmp 0x41c6ff
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edi, 1
push 0x14
mov dword [esi + 4], edx
mov dword [esi + 8], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edi
cmp eax, ebx
je 0x41c666
push edi
push ebx
mov ecx, eax
call fcn.0041c760
jmp 0x41c668
xor eax, eax
mov dword [esp + 0x24], ebp
push 0xc
mov dword [esi + 0x1c], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 2
cmp eax, ebx
je 0x41c692
mov ecx, eax
call fcn.0041b800
jmp 0x41c694
xor eax, eax
mov dword [esp + 0x24], ebp
push 0xc
mov dword [esi + 0x20], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 3
cmp eax, ebx
je 0x41c6be
mov ecx, eax
call fcn.0041b800
jmp 0x41c6c0
xor eax, eax
mov dword [esp + 0x24], ebp
cmp dword [esi + 0x1c], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
je 0x41c61f
cmp dword [esi + 0x20], ebx
je 0x41c61f
cmp eax, ebx
je 0x41c61f
push esi
call fcn.0041b980
add esp, 4
test eax, eax
je 0x41c61f
mov edi, dword [esi + 4]
cmp edi, ebx
jne 0x41c70f
mov ecx, esi
call fcn.0041bbc0
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, 0x43431c
call fcn.0041c800
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x41cd34
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x42afb8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0041cc73
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x41cd83
cmp dword [ebp - 0x1c], 5
jb 0x41cd9b
jmp 0x41cd97
cmp dword [ebp - 0x10], 1
jne 0x41cd9b
cmp dword [ebp - 0x1c], 4
ja 0x41cd97
jne 0x41cd9b
cmp dword [ebp - 0x18], 0
jbe 0x41cd9b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4244c4
call fcn.0041cb26
test eax, eax
jge 0x41cdbc
mov byte [0x42afd0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041ce52
add ebp, 0x78
leave
ret

Function at 0x41ce52
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42afb8]
jne 0x41ce5c
repz ret
jmp fcn.0041d6a9
Function at 0x40ecf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46d68b
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.004620e8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ed72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045ff97
mov eax, dword [eax]
push 0x4d31c0
push eax
call fcn.00452e94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00462373
test bl, bl
je 0x40ed72
push 0x4d31c0
lea ecx, [esp + 0xc]
call fcn.00462703
push 0x4d6d20
lea ecx, [esp + 0xc]
call fcn.00462703
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 0x40edae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00462373
jmp 0x40ee79
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 0x40ee32
lea edx, [esp + 0x7c]
push 0x4d6d1c
push edx
call fcn.00452e94
add esp, 8
test eax, eax
je 0x40ee32
lea eax, [esp + 0x7c]
push 0x4d6d18
push eax
call fcn.00452e94
add esp, 8
test eax, eax
je 0x40ee32
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 0x40edc2
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.00462373
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 0x4100d0
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 0x410132
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 0x410140
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46d7eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4dd1c0]
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 0x410278
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4101a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00462373
xor eax, eax
jmp 0x4102ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004624b0
push esi
lea ecx, [esp + 0xc]
call fcn.0046273f
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 0x4102cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004100d0
test eax, eax
jne 0x4102cd
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 accept
mov ecx, edi
call fcn.004100d0
test eax, eax
jne 0x4102cd
lea eax, [esp + 0x14]
push 0x4d6d34
push eax
call fcn.00453ed0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4102ac
lea ecx, [esp + 0x14]
push 0x4d6d30
push ecx
call fcn.00453e50
mov esi, eax
add esp, 8
test esi, esi
jne 0x4102ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4102af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00462460
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4101be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00462373
xor eax, eax
jmp 0x4102ef
mov byte [esi], 0
push 0x4d6d2c
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.00462373
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