joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x135a1786
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7de31932
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0xd263db8
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x5384617d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x424345
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.0041df0c
and dword [ebp - 4], 0
cmp dword [0x44b378], 0
mov ebx, eax
jne 0x4243f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4244a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4244a7
push eax
call fcn.0041de9a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44b378], eax
call esi
push eax
call fcn.0041de9a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b37c], eax
call esi
push eax
call fcn.0041de9a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44b380], eax
call esi
push eax
call fcn.0041de9a
pop ecx
mov dword [0x44b388], eax
test eax, eax
je 0x4243f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041de9a
pop ecx
mov dword [0x44b384], eax
mov eax, dword [0x44b384]
cmp eax, ebx
je 0x42444e
cmp dword [0x44b388], ebx
je 0x42444e
push eax
call fcn.0041df15
push dword [0x44b388]
mov esi, eax
call fcn.0041df15
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42444e
test edi, edi
je 0x42444e
call esi
test eax, eax
je 0x424445
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x424445
test byte [ebp - 0xc], 1
jne 0x42444e
or dword [ebp + 0x10], 0x200000
jmp 0x424487
mov eax, dword [0x44b37c]
cmp eax, ebx
je 0x424487
push eax
call fcn.0041df15
pop ecx
test eax, eax
je 0x424487
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x424487
mov eax, dword [0x44b380]
cmp eax, ebx
je 0x424487
push eax
call fcn.0041df15
pop ecx
test eax, eax
je 0x424487
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b378]
call fcn.0041df15
pop ecx
test eax, eax
je 0x4244a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4244a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x441980
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x44e844
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x44e83c]
sub esp, 4
test ebx, ebx
je 0x4419cb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x4419c4
test esi, esi
je 0x4419c4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4419a0
mov dword [esp], 0x44e844
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x441bb0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x441c00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x441cd8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x441c3e
cmp eax, 4
jne 0x441c60
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x441c4e
cmp edx, 4
je 0x441c4e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00441bb0
Function at 0x443af0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00441870
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x443b26
jmp 0x443b5e
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x443b23
cmp al, 9
je 0x443b23
cmp al, 0x22
jne 0x443b47
jmp 0x443ba6
cmp al, 9
je 0x443b53
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x443b40
jmp 0x443b53
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x443b50
cmp al, 9
je 0x443b50
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x443b6d
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401774
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
test al, al
je 0x443bb2
mov edx, ebx
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x22
jne 0x443ba2
cmp al, 0x22
jne 0x443b53
lea ebx, [edx + 2]
jmp 0x443b53
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
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.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x3d2a5760
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3f6d54ee
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401d60
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42c749
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x43c01c]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push esi
mov eax, dword [0x43c01c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0xbc], 0
je 0x401eed
lea ecx, [esp + 0x64]
call fcn.0040a1d0
mov dword [esp + 0x90], 0
mov eax, dword [ebx + 0xbc]
add eax, 0x28c
push eax
lea ecx, [esp + 0x68]
call dword [0x42e238]
mov eax, dword [esp + 0x68]
mov esi, 8
cmp dword [esp + 0x7c], esi
jae 0x401de5
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401e6b
test al, 0x10
jne 0x401e6b
push 0x44
lea ecx, [esp + 0x20]
push 0
push ecx
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x7c], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], 0x44
jae 0x401e2e
lea eax, [esp + 0x68]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
mov ecx, 0x42e88c
call fcn.00404b20
mov eax, dword [ebx + 0xcc]
test eax, eax
mov ecx, 1
mov dword [ebx + 0x180], ecx
je 0x401eb0
test byte [eax + 0x18], cl
je 0x401eb0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x401e9f
mov eax, dword [eax + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004026f0
jmp 0x401ed8
xor eax, eax
push eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004026f0
jmp 0x401ed8
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x401ebc
mov eax, dword [eax + 8]
jmp 0x401ebe
xor eax, eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov eax, 0x3e8
call fcn.004134c0
mov dword [ebx + 0x144], eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x90], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00422218
mov esp, ebp
pop ebp
ret
Function at 0x404710
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x42baec
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x43c01c]
xor eax, esp
mov dword [esp + 0x438], eax
push edi
mov eax, dword [0x43c01c]
xor eax, esp
push eax
lea eax, [esp + 0x444]
mov dword fs:[0], eax
lea ecx, [esp + 0x24]
call fcn.0040a1d0
lea ecx, [esp + 0x24]
lea edi, [esp + 8]
mov dword [esp + 0x44c], 0
call fcn.00409e50
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str.Game.dat
lea ecx, [esp + 0x28]
call dword [0x42e234]
push 0x1fe
lea eax, [esp + 0x46]
push 0
push eax
mov word [esp + 0x4c], 0
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp dword [esp + 0x3c], 8
jae 0x4047aa
lea eax, [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x100
lea ecx, [esp + 0x48]
push ecx
push 0x42f48c
push str.Name
push str.Game
call edi
lea edx, [esp + 0x40]
push edx
lea ecx, [esi + 0x270]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x1fe
lea eax, [esp + 0x246]
push 0
push eax
mov word [esp + 0x24c], 0
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp dword [esp + 0x3c], 8
jae 0x40480d
lea eax, [esp + 0x28]
push eax
push 0x100
lea ecx, [esp + 0x248]
push ecx
push 0x42f48c
push 0x42f4a4
push str.Game
call edi
lea edx, [esp + 0x240]
push edx
lea ecx, [esi + 0x28c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea ecx, [esp + 0x24]
mov dword [esp + 0x44c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.00422218
add esp, 0x448
ret
Function at 0x404880
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
mov esi, eax
call fcn.00404710
cmp dword [esi + 0x288], 8
jb 0x4048a0
mov eax, dword [esi + 0x274]
jmp 0x4048a6
lea eax, [esi + 0x274]
mov ecx, dword [ebp + 8]
push ecx
push eax
mov eax, esi
call fcn.00416920
mov edi, eax
test edi, edi
je 0x4048f8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edx, dword [esi + 4]
push edx
call fcn.00416c80
mov eax, dword [esi + 4]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x404b20
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x42baa8
mov eax, dword fs:[0]
push eax
mov eax, 0x28a4
call fcn.0042ac10
mov eax, dword [0x43c01c]
xor eax, esp
mov dword [esp + 0x28a0], eax
push esi
push edi
mov eax, dword [0x43c01c]
xor eax, esp
push eax
lea eax, [esp + 0x28b0]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x90]
call fcn.0040a1d0
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x28bc], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x74]
lea edi, [esp + 0x10]
mov byte [esp + 0x28b8], 1
call fcn.00409e50
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0x42f4dc
lea ecx, [esp + 0x78]
call dword [0x42e234]
mov eax, dword [esp + 0x78]
mov edi, 8
cmp dword [esp + 0x8c], edi
jae 0x404bca
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404c95
test al, 0x10
jne 0x404c95
push 0x44
lea ecx, [esp + 0x30]
push 0
push ecx
call sub.MSVCR80.dll_memset
xor eax, eax
push 0x27fe
push eax
lea edx, [esp + 0xc2]
push edx
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov word [esp + 0xc4], ax
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x90]
add esp, 0x18
cmp dword [esp + 0x8c], edi
jae 0x404c3c
lea eax, [esp + 0x78]
push esi
push eax
push str._s__reporttype_s
push 0xffffffffffffffff
lea eax, [esp + 0xbc]
push 0x13ff
push eax
call dword [sym.imp.MSVCR80.dll__snwprintf_s]
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0xcc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
lea ecx, [esp + 0x74]
mov byte [esp + 0x28b8], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x90]
mov dword [esp + 0x28b8], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x28b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28a0]
xor ecx, esp
call fcn.00422218
add esp, 0x28b0
ret
Function at 0x409570
Capabilities:
Get file size
Read file on windows

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4095db
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebx], eax
je 0x4095d4
add eax, 1
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x4095d4
mov ecx, dword [ebx]
push 0
push ebx
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx]
mov byte [edi + edx], 0
mov eax, edi
pop edi
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x409850
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x43c01c]
xor eax, esp
mov dword [esp + 0x214], eax
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 4], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
lea eax, [esp + 4]
push eax
push 1
push edi
push 0x430364
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409927
push ebx
push 0x206
lea ecx, [esp + 0x1a]
push edi
push ecx
mov dword [esp + 0x1c], edi
mov word [esp + 0x20], di
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
push 0x42e748
push edx
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
mov dword [esp + 8], edi
pop ebx
jne 0x409927
lea ecx, [esp + 0x10]
push 0x104
push ecx
call dword [sym.imp.MSVCR80.dll__wcslwr_s]
add esp, 8
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [edi + 1]
pop edi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00422218
add esp, 0x218
ret
mov ecx, dword [esp + 0x218]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00422218
add esp, 0x218
ret