joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ca0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
sub esp, 0x804
mov eax, dword [0x406024]
xor eax, esp
push esi
mov esi, ecx
mov dword [esp + 0x804], eax
mov al, byte [esi + 0x14]
test al, al
jne 0x401dd8
push ebx
push ebp
push edi
push 0x400
lea eax, [esp + 0x414]
push eax
mov byte [esp + 0x418], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
lea ecx, [esp + 0x410]
push ecx
lea edx, [esp + 0x14]
push str._suser32.dll
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
je 0x401d2f
push str.ChangeWindowMessageFilter
push eax
call ebp
mov ecx, dword [esi + 0x18]
push str.ChangeWindowMessageFilterEx
push ecx
mov dword [esi], eax
call ebp
mov dword [esi + 4], eax
lea edx, [esp + 0x410]
push edx
lea eax, [esp + 0x14]
push str._skernel32.dll
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
mov dword [esi + 0x1c], eax
je 0x401d5f
push str.WTSGetActiveConsoleSessionId
push eax
call ebp
mov dword [esi + 8], eax
lea edx, [esp + 0x410]
push edx
lea eax, [esp + 0x14]
push str._swtsapi32.dll
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
mov dword [esi + 0x20], eax
je 0x401d8f
push str.WTSQueryUserToken
push eax
call ebp
mov dword [esi + 0xc], eax
lea edx, [esp + 0x410]
push edx
lea eax, [esp + 0x14]
push str._s_advapi32.dll
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
mov dword [esi + 0x24], eax
je 0x401dd1
push str.CreateProcessAsUser
push eax
call ebp
test eax, eax
mov dword [esi + 0x10], eax
jne 0x401dd1
mov edx, dword [esi + 0x24]
push str.CreateProcessAsUserA
push edx
call ebp
mov dword [esi + 0x10], eax
pop edi
pop ebp
mov byte [esi + 0x14], 1
pop ebx
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.00402d2b
add esp, 0x804
ret

Function at 0x401e40
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x406024]
xor eax, esp
mov dword [esp + 0x94], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x401e92
cmp dword [esp + 0x10], 2
jne 0x401e92
cmp dword [esp + 4], 6
jb 0x401e92
mov eax, 1
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00402d2b
add esp, 0x98
ret
mov ecx, dword [esp + 0x94]
xor ecx, esp
xor eax, eax
call fcn.00402d2b
add esp, 0x98
ret
Function at 0x401eb0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x330
mov eax, dword [0x406024]
xor eax, esp
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 2
mov dword [esp + 0x340], eax
mov edi, ecx
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x401ef1
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x401ef8
xor eax, eax
jmp 0x401fd3
mov ecx, edi
call fcn.00401e40
test eax, eax
je 0x401f38
mov ecx, dword [str.winlogon.exe]
mov edx, dword [0x4045d4]
mov eax, dword [0x4045d8]
mov dword [esp + 0x138], ecx
mov cl, byte [0x4045dc]
mov dword [esp + 0x13c], edx
mov dword [esp + 0x140], eax
mov byte [esp + 0x144], cl
jmp 0x401f6b
mov edx, dword [str.explorer.exe]
mov eax, dword [0x4045c4]
mov ecx, dword [0x4045c8]
mov dword [esp + 0x138], edx
mov dl, byte [0x4045cc]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
mov byte [esp + 0x144], dl
mov edi, dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push ebp
mov ebp, dword [esp + 0x344]
lea esp, [esp]
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.MSVCR71.dll__stricmp]
add esp, 8
test eax, eax
jne 0x401fb4
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call edi
test eax, eax
je 0x401fb4
cmp dword [esp + 0x10], ebp
je 0x401fc5
lea ecx, [esp + 0x14]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401f80
jmp 0x401fc9
mov ebx, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebp
mov ecx, dword [esp + 0x338]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00402d2b
add esp, 0x330
ret 4

Function at 0x401ff0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
lea ecx, [esp + 4]
push ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
push eax
push 0
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x402061
mov eax, dword [esp + 4]
test eax, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x40204d
push eax
call esi
mov eax, dword [esp + 4]
test eax, eax
je 0x402058
push eax
call esi
mov al, 1
pop esi
add esp, 0x54
ret 4
xor al, al
add esp, 0x54
ret 4
Function at 0x4023f0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x21c
mov eax, dword [0x406024]
xor eax, esp
push ebx
push ebp
push edi
mov edi, dword [esp + 0x22c]
mov dword [esp + 0x224], eax
lea eax, [esp + 0x10]
push eax
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
cmp ebx, ebp
je 0x4024e6
lea ecx, [ebx + 1]
push esi
push ecx
call dword [sym.imp.MSVCR71.dll_malloc]
mov edx, dword [esp + 0x18]
add esp, 4
mov esi, eax
push esi
push ebx
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4024cb
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x404688
push esi
call sub.VERSION.dll_VerQueryValueW
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x14]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push 0x40463c
push ecx
push edx
lea eax, [esp + 0x34]
push str.StringFileInfo_04x_04x_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
push edi
call fcn.004022e0
add esp, 4
test eax, eax
je 0x4024c1
mov ebp, dword [esi]
push esi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00402d2b
add esp, 0x21c
ret
mov ecx, dword [esp + 0x224]
pop edi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00402d2b
add esp, 0x21c
ret
Function at 0x402bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40317b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc44
mov eax, dword [0x406024]
xor eax, esp
push esi
mov esi, dword [esp + 0xc58]
push edi
mov edi, dword [esp + 0xc60]
mov dword [esp + 0xc48], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x400
lea eax, [esp + 0x44c]
push edi
push eax
mov dword [esp + 0xc60], 1
call dword [sym.imp.MSVCR71.dll_mbstowcs]
lea ecx, [esp + 0x454]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00402a20
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0xc54], 2
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::size_void_const]
shl eax, 1
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.MSVCR71.dll_wcstombs]
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x10]
mov dword [esp + 8], 1
mov byte [esp + 0xc54], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc54], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0xc4c]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc44]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00402d2b
add esp, 0xc50
ret
Function at 0x10001020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1000d524]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [0x1000ebd4], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 0x2777
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
xor eax, 0x840fc33b
je 0x10001062
push 0
call fcn.10004f18
mov ecx, section..text
sub ecx, dword [ebp - 4]
sub ecx, 5
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x20], 0x56
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x75
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x50
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x12], 0
lea edx, [ebp - 0x20]
push edx
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0xa
mov ecx, dword [ebp - 4]
push ecx
call dword [ebp - 8]
test eax, eax
jne 0x100010df
push 0
call fcn.10004f18
mov edx, dword [ebp - 4]
mov byte [edx], 0xe8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [ecx], edx
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10004c69
mov esp, ebp
pop ebp
ret 4

Function at 0x10004c69
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000d524]
jne 0x10004c73
repz ret
jmp fcn.100051ef
Function at 0x10007c17
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10005367
and dword [ebp - 4], 0
cmp dword [0x1000eaf0], 0
mov ebx, eax
jne 0x10007cc8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10007d79
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10007d79
push eax
call fcn.100052f5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000eaf0], eax
call esi
push eax
call fcn.100052f5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000eaf4], eax
call esi
push eax
call fcn.100052f5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000eaf8], eax
call esi
push eax
call fcn.100052f5
pop ecx
mov dword [0x1000eb00], eax
test eax, eax
je 0x10007cc8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100052f5
pop ecx
mov dword [0x1000eafc], eax
mov eax, dword [0x1000eafc]
cmp eax, ebx
je 0x10007d20
cmp dword [0x1000eb00], ebx
je 0x10007d20
push eax
call fcn.10005370
push dword [0x1000eb00]
mov esi, eax
call fcn.10005370
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10007d20
test edi, edi
je 0x10007d20
call esi
test eax, eax
je 0x10007d17
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10007d17
test byte [ebp - 0xc], 1
jne 0x10007d20
or dword [ebp + 0x10], 0x200000
jmp 0x10007d59
mov eax, dword [0x1000eaf4]
cmp eax, ebx
je 0x10007d59
push eax
call fcn.10005370
pop ecx
test eax, eax
je 0x10007d59
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10007d59
mov eax, dword [0x1000eaf8]
cmp eax, ebx
je 0x10007d59
push eax
call fcn.10005370
pop ecx
test eax, eax
je 0x10007d59
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000eaf0]
call fcn.10005370
pop ecx
test eax, eax
je 0x10007d79
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10007d7b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401645
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401654
pop dword [ebp - 0x40]
mov eax, 0xc85240ec
sub eax, 0xc8122a98
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xc36529e1
add dword [ebp - 0x50], 0x8aed1b6a
mov dword [ebp - 0x4c], 0xcb91133d
add dword [ebp - 0x4c], 0x66a23908
mov dword [ebp - 0x48], 0x9de75306
sub dword [ebp - 0x48], 0x519b0ed8
mov dword [ebp - 0x44], 0xb17051e2
add dword [ebp - 0x44], 0x4e8fae1e
lea eax, [ebp - 0x50]
push eax
mov eax, 0x77b63d02
sub eax, 0x77756cb6
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x778c0f83
sub dword [ebp - 0x50], 0x319a62d
mov dword [ebp - 0x4c], 0xb6892015
sub dword [ebp - 0x4c], 0x751cbea0
mov dword [ebp - 0x48], 0xfa1cb10e
add dword [ebp - 0x48], 0x6952bb5e
mov dword [ebp - 0x44], 0x377d5e0e
sub dword [ebp - 0x44], 0x377d5e0e
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xfe7e2e
add eax, 0xff42521a
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x36ae1
push 0
call eax
mov ecx, 0xecdece89
sub ecx, 0xecde91b5
xor edi, edi
add edi, eax
mov ebx, 0xefc0d910
add ebx, 0x1080d6f0
add ebx, dword [ebp - 0x40]
mov edx, 0xadd9ff54
xor dword [ebp - 0x34], 0xce946031
mov esi, dword [ebx]
mov dword [ebp - 0x2c], 0x5ee257a0
xor esi, edx
mov dword [edi], esi
add dword [ebp - 0x20], eax
add edi, 4
add ebx, 4
loop 0x401772
add eax, 0xe623
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x765febd6
add ecx, 0x89e0142a
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d
Function at 0x40688e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
mov eax, 0x1a1
cmp eax, 0x24
ja 0x40689c
call 0x85667b4
mov al, byte [0x8b640041]
cmp eax, 0x30
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x44ee30], eax
sub eax, eax
je 0x4068c1
jmp 0xa8cf5119
call 0x401154
call 0x406651
pop edi
xor eax, eax
pop esi
ret

Function at 0x407515
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407554
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407554
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407554
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407554
cmp dword [ecx + 0x74], 0xe
jbe 0x407554
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40d5eb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2c8
push 0x41c2c0
push str.FlsAlloc
push 0x1e
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d61f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
jmp 0x40d625
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d669
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2d8
push 0x41c2d0
push str.FlsGetValue
push 0x20
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d6a0
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x411370
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x495e6b
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.0048a238
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4113f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00487beb
mov eax, dword [eax]
push 0x4f0224
push eax
call fcn.00467664
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048a4c3
test bl, bl
je 0x4113f2
push 0x4f0224
lea ecx, [esp + 0xc]
call fcn.0048a853
push 0x4f3d9c
lea ecx, [esp + 0xc]
call fcn.0048a853
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 0x41142e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048a4c3
jmp 0x4114f9
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 0x4114b2
lea edx, [esp + 0x7c]
push 0x4f3d98
push edx
call fcn.00467664
add esp, 8
test eax, eax
je 0x4114b2
lea eax, [esp + 0x7c]
push 0x4f3d94
push eax
call fcn.00467664
add esp, 8
test eax, eax
je 0x4114b2
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 0x411442
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.0048a4c3
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 0x412750
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 0x4127b2
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 0x4127c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x495fcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4fadd4]
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 0x4128f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x412826
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048a4c3
xor eax, eax
jmp 0x41296f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048a600
push esi
lea ecx, [esp + 0xc]
call fcn.0048a88f
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 0x41294d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00412750
test eax, eax
jne 0x41294d
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.00412750
test eax, eax
jne 0x41294d
lea eax, [esp + 0x14]
push 0x4f3db0
push eax
call fcn.004686b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41292c
lea ecx, [esp + 0x14]
push 0x4f3dac
push ecx
call fcn.00468630
mov esi, eax
add esp, 8
test esi, esi
jne 0x41292c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41292f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048a5b0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41283e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048a4c3
xor eax, eax
jmp 0x41296f
mov byte [esi], 0
push 0x4f3da8
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.0048a4c3
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