joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401fa0
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4320e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x40219a
push ebx
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea eax, [ebp - 0x20c]
push 0x103
push esi
push eax
call ebx
add esp, 0x18
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x402199
push edi
push esi
call fcn.00402300
add esp, 8
lea eax, [ebp - 0x20c]
push 0x42a844
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x350], eax
cmp eax, 0xffffffff
je 0x402192
nop dword [eax]
lea ecx, [ebp - 0x34c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x402186
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
test byte [ebp - 0x34c], 0x10
je 0x402145
add esp, 0xc
lea eax, [ebp - 0x320]
mov ecx, 0x42a848
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4020a4
test dl, dl
je 0x4020a0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4020a4
add eax, 2
add ecx, 2
test dl, dl
jne 0x402084
xor eax, eax
jmp 0x4020a9
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp - 0x350]
je 0x402040
mov eax, 0x42a84c
lea ecx, [ebp - 0x320]
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4020e0
test dl, dl
je 0x4020dc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4020e0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4020c0
xor eax, eax
jmp 0x4020e5
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp - 0x350]
je 0x402040
push 0x103
lea eax, [ebp - 0x108]
push esi
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00402300
push edi
mov edx, fcn.00402300
lea ecx, [ebp - 0x108]
call fcn.00401fa0
mov eax, dword [ebp - 0x350]
add esp, 0xc
jmp 0x402040
push 0x103
lea eax, [ebp - 0x108]
push esi
push eax
call ebx
add esp, 0x18
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00402300
mov eax, dword [ebp - 0x350]
add esp, 8
jmp 0x402040
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x350]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00422e4c
mov esp, ebp
pop ebp
ret
Function at 0x402e70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4320e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x40], ecx
mov ecx, 0xb
mov esi, str._pipediscord_ipc_0
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x44], 0x15
mov eax, 2
imul ecx, eax, 0x15
mov edx, 0x30
mov word [ebp + ecx - 0x34], dx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0xffffffff
je 0x402ee7
mov ecx, dword [ebp - 0x38]
mov byte [ecx], 1
mov al, 1
jmp 0x402f58
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jne 0x402f2a
mov edx, 2
imul eax, edx, 0x15
movzx ecx, word [ebp + eax - 0x34]
cmp ecx, 0x39
jge 0x402f28
mov edx, 2
imul eax, edx, 0x15
mov cx, word [ebp + eax - 0x34]
add cx, 1
mov edx, 2
imul eax, edx, 0x15
mov word [ebp + eax - 0x34], cx
jmp 0x402eb5
jmp 0x402f4f
cmp dword [ebp - 0x3c], 0xe7
jne 0x402f4f
push 0x2710
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x402f4a
xor al, al
jmp 0x402f58
jmp 0x402eb5
xor al, al
jmp 0x402f58
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422e4c
mov esp, ebp
pop ebp
ret

Function at 0x402fb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
jne 0x402fc3
mov al, 1
jmp 0x403032
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402fd3
xor al, al
jmp 0x403032
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
jne 0x402fe0
xor al, al
jmp 0x403032
cmp dword [ebp + 8], 0
jne 0x402fea
xor al, al
jmp 0x403032
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x403028
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jne 0x403028
mov dword [ebp - 0x10], 1
jmp 0x40302f
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x4031a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaa0
mov eax, dword [0x4320e8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20
lea eax, [ebp - 0x84]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20
lea edx, [ebp - 0x44]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0xa9c]
push ecx
push 0x20019
push 0
push str.SoftwareValveSteam
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xa94], eax
cmp dword [ebp - 0xa94], 0
je 0x403233
push str.Error_opening_Steam_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00403840
add esp, 8
jmp 0x40333d
mov dword [ebp - 0xa98], 0x208
lea edx, [ebp - 0xa98]
push edx
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push str.SteamExe
mov ecx, dword [ebp - 0xa9c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xa94], eax
mov edx, dword [ebp - 0xa9c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xa94], 0
jne 0x403286
cmp dword [ebp - 0xa98], 1
jae 0x4032a4
push str.Error_reading_SteamExe_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00403840
add esp, 8
jmp 0x40333d
mov eax, dword [ebp - 0xa98]
shr eax, 1
mov dword [ebp - 0xaa0], eax
mov dword [ebp - 0xa90], 0
jmp 0x4032cd
mov ecx, dword [ebp - 0xa90]
add ecx, 1
mov dword [ebp - 0xa90], ecx
mov edx, dword [ebp - 0xa90]
cmp edx, dword [ebp - 0xaa0]
jae 0x403303
mov eax, dword [ebp - 0xa90]
movzx ecx, word [ebp + eax*2 - 0x28c]
cmp ecx, 0x2f
jne 0x403301
mov edx, 0x5c
mov eax, dword [ebp - 0xa90]
mov word [ebp + eax*2 - 0x28c], dx
jmp 0x4032be
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x28c]
push edx
push str.__s__steam:__rungameid__s
push 0x800
lea eax, [ebp - 0xa8c]
push eax
call fcn.004037b0
add esp, 0x14
lea ecx, [ebp - 0xa8c]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.004034d0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422e4c
mov esp, ebp
pop ebp
ret
Function at 0x403430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x403491
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx]
test ecx, ecx
je 0x403491
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40348b
mov eax, dword [ebp - 8]
jmp 0x4034cb
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x4034c8
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
je 0x4034c8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x405a30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424c9d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4320e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00406470
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x405970
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x405ad9
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
jmp 0x405aea
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406d60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x410510
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4320e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x410537
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x41053e
mov al, 1
jmp 0x41063e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x3c], 0xffffffff
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x2c]
call dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0xffffffff
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x50]
jne 0x41057b
mov dword [ebp - 0x40], 1
jmp 0x410582
mov dword [ebp - 0x40], 0
mov al, byte [ebp - 0x40]
mov byte [ebp - 0x2d], al
movzx ecx, byte [ebp - 0x2d]
test ecx, ecx
je 0x410597
xor al, al
jmp 0x41063e
mov dword [ebp - 0x60], 0x20
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov ecx, dword [ebp - 0x54]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4105da
cmp dword [ebp - 0x34], 1
je 0x4105e1
cmp dword [ebp - 0x34], 3
je 0x410631
jmp 0x41063c
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x3d], 0
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
sub eax, ecx
mov dword [ebp - 0x38], eax
je 0x410611
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 1
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x410611
xor al, al
jmp 0x41063e
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 0x3d]
test ecx, ecx
jne 0x410625
mov dword [ebp - 0x44], 1
jmp 0x41062c
mov dword [ebp - 0x44], 0
mov al, byte [ebp - 0x44]
jmp 0x41063e
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x3d], 0
mov al, 1
jmp 0x41063e
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422e4c
mov esp, ebp
pop ebp
ret
Function at 0x411ec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x411eec
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
jmp 0x411fd8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp + 0x10], 0
jl 0x411f89
jg 0x411f15
cmp dword [ebp + 0xc], 0
jbe 0x411f89
cmp dword [ebp - 0xc], 0
jl 0x411f89
jg 0x411f23
cmp dword [ebp - 0x10], 0
jbe 0x411f89
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x411f41
jl 0x411f35
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x10]
jae 0x411f41
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 0xc]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
cmp dword [ebp + 0x10], 0
jl 0x411fcc
jg 0x411f97
cmp dword [ebp + 0xc], 0
jbe 0x411fcc
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x411fcc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
sbb edx, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x424437
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x424476
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424476
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424476
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x424476
cmp dword [ecx + 0x74], 0xe
jbe 0x424476
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x407e8b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x51cd00
call fcn.004ebccc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xor edx, edx
mov dword [ebp - 0x14], edx
push 2
pop esi
mov dword [ebp - 4], esi
mov edi, dword [ebp + 0xc]
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x407eb4
mov ecx, dword [edi]
mov eax, dword [ebx]
push edx
push edx
push edx
push edx
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407f46
cmp dword [edi + 0x14], 0x10
jb 0x407ecf
mov edi, dword [edi]
mov eax, dword [ebx]
push ecx
push edi
push dword [eax]
mov ecx, dword [ebp + 8]
call fcn.00407ca4
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
and esi, 0xfffffffd
mov dword [ebp - 0x14], esi
xor eax, eax
inc eax
mov dword [ebp - 4], eax
or esi, eax
mov dword [ebp - 0x14], esi
jmp 0x407f3b
mov eax, dword [ebp + 8]
call fcn.004ebc31
ret 8
push str.neo::regedit::values::at__:_value_doesnt_exists
lea ecx, [ebp - 0x24]
call fcn.00404ab9
push 0x574c88
lea eax, [ebp - 0x24]
push eax
call fcn.004ee7cb
int3
Function at 0x40818b
Capabilities:
Hash data with md5

Disassembly:
push 0xf0
mov eax, 0x51cdae
call fcn.004ebc96
mov edi, ecx
mov dword [ebp - 0x34], edi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x30], eax
and dword [edi + 0x18], eax
and dword [edi + 0x14], eax
mov byte [edi], al
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
cmp byte [ebp + 0xc], al
je 0x4081f4
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0042b93b
and dword [ebp - 4], 0
xor eax, eax
inc eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], eax
call fcn.004072c6
mov byte [ebp - 0x29], 1
test al, al
jne 0x4081f8
mov byte [ebp - 0x29], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test al, 1
je 0x408215
and eax, 0xfffffffe
mov dword [ebp - 0x30], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00426c73
cmp byte [ebp - 0x29], 0
je 0x4082e1
xor eax, eax
mov word [ebp - 0x38], 1
cmp dword [esi + 0x14], 0x10
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jb 0x408235
mov esi, dword [esi]
sub esp, 0xc
lea ecx, [ebp - 0xfc]
push esi
call fcn.00426a92
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xfc], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x100], eax
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0xfc]
push ecx
push dword [ebp - 0x38]
mov byte [ebp - 0x3f], 0
lea ecx, [ebp - 0x1c]
mov eax, dword [eax + 4]
push 0
mov eax, dword [ebp + eax - 0xc4]
test eax, eax
sete byte [ebp - 0x40]
push dword [ebp - 0x40]
push eax
call fcn.0042b994
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
call fcn.00423890
lea ecx, [ebp - 0x8c]
call fcn.004239ea
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x34]
mov ecx, edi
push eax
push dword [ebp - 0x1c]
call fcn.00408447
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00422df8
jmp 0x4082f5
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x4082ec
mov esi, dword [esi]
push eax
push esi
mov ecx, edi
call fcn.00408447
mov eax, edi
call fcn.004ebc45
ret 8

Function at 0x40c4fc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x578134]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x40c548
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004eddc0
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
cmp dword [esi + 0x14], 8
jb 0x40c534
mov esi, dword [esi]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], esi
push eax
mov dword [ebp - 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004eacf5
leave
ret
Function at 0x40d233
Capabilities:
Get common file path

Disassembly:
push 0x2b4
mov eax, 0x51e478
call fcn.004ebc96
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004eddc0
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40d3a9
push ecx
push ecx
lea ecx, [ebp - 0x278]
call fcn.0042d275
mov dword [ebp - 4], ebx
push ecx
push 0x578d28
lea ecx, [ebp - 0x260]
call fcn.0042b93b
xor eax, eax
inc eax
mov byte [ebp - 4], al
push ecx
push 0x578d40
lea ecx, [ebp - 0x248]
call fcn.0042b93b
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x2c0]
call fcn.0042d1c2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
push ecx
mov edx, eax
lea ecx, [ebp - 0x2a8]
call fcn.004069ce
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
push ecx
mov edx, eax
lea ecx, [ebp - 0x290]
call fcn.004069ce
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x278]
push ecx
mov edx, eax
lea ecx, [ebp - 0x230]
call fcn.004069ce
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x290]
call fcn.00426c73
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2a8]
call fcn.00426c73
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c0]
call fcn.00426c73
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x248]
call fcn.00426c73
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x260]
call fcn.00426c73
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x278]
call fcn.00426c73
lea ecx, [ebp - 0x230]
call fcn.004072c6
test al, al
je 0x40d39a
lea ecx, [ebp - 0x230]
call fcn.00407394
test al, al
je 0x40d39a
lea ecx, [ebp - 0x230]
call fcn.00407482
test al, al
movzx ebx, bl
push 1
pop eax
cmove ebx, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00426c73
mov al, bl
call fcn.004ebc45
ret
Function at 0x40d99f
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x290
mov eax, 0x51e7c2
call fcn.004ebc96
mov esi, ecx
mov dword [ebp - 0x220], esi
xor edi, edi
mov dword [ebp - 0x224], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], edi
push edi
push eax
call fcn.004eddc0
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push 0x2a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ecx
push 0x578d28
lea ecx, [ebp - 0x254]
call fcn.0042b93b
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push ecx
push 0x578d40
lea ecx, [ebp - 0x23c]
call fcn.0042b93b
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x29c]
call fcn.0042d1c2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x284]
call fcn.004069ce
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x254]
push ecx
mov edx, eax
lea ecx, [ebp - 0x26c]
call fcn.004069ce
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov edx, eax
mov ecx, esi
call fcn.0040720a
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x26c]
call fcn.00426c73
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00426c73
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x29c]
call fcn.00426c73
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x23c]
call fcn.00426c73
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x254]
call fcn.00426c73
mov eax, esi
call fcn.004ebc45
ret
Function at 0x412ee0
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x51f87d
call fcn.004ebc96
mov esi, ecx
xor edi, edi
push ecx
push edi
mov dword [ebp - 0x18], edi
call fcn.0044f58e
push 5
mov ecx, esi
call fcn.00412c78
push edi
push 0x15f90
push 0x3e9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
cmp byte [ebp + 8], 0
jne 0x412f7d
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
push 0x10
call fcn.004eaf11
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push ecx
push edi
push eax
mov dword [eax], esi
xor esi, esi
push 0x43be59
push edi
inc esi
mov dword [eax + 8], 0x41a8de
push edi
mov dword [eax + 0xc], edi
mov dword [ebp - 0x18], esi
call fcn.004f639c
add esp, 0x1c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x412f8a
mov eax, esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
and eax, 0xfffffffe
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x20]
call fcn.00408f5a
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], edi
jne 0x412f85
call fcn.004ebc45
ret 4
call fcn.004fb1fd
push 6
mov dword [ebp - 0x1c], edi
call fcn.004d83fd
int3