joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x457258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov edi, ecx
push 0x46a404
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
call fcn.0044e035
add esp, 4
push str.hcq.dll
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [edi + 0xfbe4], eax
je 0x4386c6
push str.DllGetClassObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x438625
mov eax, dword [edi + 0xfbe4]
push eax
jmp 0x4386c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 0x45d300
push 0x45c0e8
call eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4386b9
test eax, eax
jl 0x4386b9
mov edx, dword [ecx]
lea esi, [edi + 0x10fa8]
push esi
push 0x45c0c8
push 0
push ecx
call dword [edx + 0xc]
mov ebp, eax
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi]
test eax, eax
je 0x4386a4
test ebp, ebp
jl 0x4386a4
mov edx, dword [eax]
push 0x10
push eax
call dword [edx + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [edi + 0xfbe4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
jmp 0x4386c6
mov ecx, dword [edi + 0xfbe4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x43afa0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x457328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push 0x46a404
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0xc]
mov dword [esp + 0x18], 0
push eax
call fcn.0044e035
add esp, 4
push str.dlgprj.dll
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x194], eax
jne 0x43b054
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DLGAboutShow
push eax
call edi
mov dword [esi + 0x198], eax
mov eax, dword [esi + 0x194]
push str.DLGSetting
push eax
call edi
mov ecx, dword [esi + 0x194]
push str.DLGExit
push ecx
mov dword [esi + 0x19c], eax
call edi
mov edx, dword [esi + 0x194]
push str.DLGExitAnswer
push edx
mov dword [esi + 0x1a0], eax
call edi
mov dword [esi + 0x1a4], eax
mov eax, dword [esi + 0x194]
push str.DLGSetBg
push eax
call edi
lea ecx, [esp + 8]
mov dword [esi + 0x1a8], eax
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x43bad0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x457430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
mov byte [esp + 0x18], 1
push eax
call fcn.0044e035
add esp, 4
push str.datapet.exe
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 8]
push edx
call fcn.0044e035
add esp, 4
push str.data
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x20], 4
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
mov ecx, 0x46a8a8
call fcn.004369c0
test eax, eax
je 0x43bbb2
mov eax, dword [eax + 0x20]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
push 0
push ecx
push 0
push edx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x43f6c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x457940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
push 0
push 0
mov edi, ecx
push 0
push 0x3e7
lea eax, [esp + 0x28]
push edi
push eax
lea esi, [edi + 0x1e168]
push 0x50800000
push 0x46a404
push 0x45cf48
mov ecx, esi
mov dword [esp + 0x3c], 0x1cc
mov dword [esp + 0x40], 0xf0
mov dword [esp + 0x44], 0x2b2
mov dword [esp + 0x48], 0x21c
call sub.MFC42.DLL_CWnd::CreateControl
push 7
push 0x11
mov ecx, esi
call fcn.0044c360
push 1
mov ecx, esi
call fcn.0044c0d0
lea ecx, [edi + 0x1e244]
push ecx
mov ecx, esi
call fcn.0044c160
push 0xf6c7ad
push 6
mov ecx, esi
call fcn.0044c360
push 0
push 5
mov ecx, esi
call fcn.0044c360
push 0xa16606
push 0xc
mov ecx, esi
call fcn.0044c360
push 0xf6c7ad
push 4
mov ecx, esi
call fcn.0044c360
push 0
push 3
mov ecx, esi
call fcn.0044c360
push 0
push 0xe
mov ecx, esi
call fcn.0044c360
push 0x4d699b
push 0xf
mov ecx, esi
call fcn.0044c360
lea edx, [esp + 0x28]
mov eax, 0xa
push edx
mov ecx, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x3e8
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x34], 0x1e
mov dword [esp + 0x2c], eax
call fcn.0044c220
lea eax, [esp + 0xc]
push eax
call fcn.0044e035
add esp, 4
push str.picplayerlisttitle_bg.bmp
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x50], 0
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
mov ecx, esi
push edx
push 2
call fcn.0044c390
lea eax, [esp + 0x14]
push eax
call fcn.0044e035
add esp, 4
push str.picplayerlisttitle_line.bmp
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
mov ecx, esi
push edx
push 1
call fcn.0044c390
push 0x12
push 0
push 0x46a404
mov ecx, esi
call fcn.0044c240
push 0x3c
push 0x466d84
mov ecx, esi
call fcn.0044bed0
push 0x3c
push 0x468970
mov ecx, esi
call fcn.0044bea0
push 0x3c
push 0x468968
mov ecx, esi
call fcn.0044bed0
push 0x3c
push 0x468960
mov ecx, esi
call fcn.0044bea0
push 0x3c
push 0x467934
mov ecx, esi
call fcn.0044bea0
push 0x3c
push 0x468954
mov ecx, esi
call fcn.0044bed0
push 2
push 3
mov ecx, esi
call fcn.0044c1f0
mov ecx, esi
call fcn.0044bf30
push 4
mov ecx, esi
call fcn.0044c290
push 1
mov ecx, esi
call fcn.0044c2b0
push esi
lea ecx, [edi + 0x1e1a8]
call fcn.0044c620
push 0xd200a3
push str.__s10_
mov ecx, esi
call fcn.0044c0f0
lea ecx, [esp + 8]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x43ff30
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, ecx
push eax
mov ecx, 0x46a8a8
call fcn.004384a0
mov esi, eax
test esi, esi
jne 0x43ff4e
pop edi
pop esi
ret 8
test byte [esi + 0x20], 0x40
je 0x43ff68
mov ecx, dword [esi]
add edi, 0x1e168
push 4
push ecx
mov ecx, edi
call fcn.0044c030
jmp 0x43ff7a
mov edx, dword [esi]
add edi, 0x1e168
push 4
push edx
mov ecx, edi
call fcn.0044c060
mov eax, dword [esi + 0x20]
push 3
test eax, 0x10000000
je 0x43ff92
mov eax, dword [esi]
mov ecx, edi
push eax
call fcn.0044c030
jmp 0x43ff9c
mov ecx, dword [esi]
push ecx
mov ecx, edi
call fcn.0044c060
mov eax, dword [esi + 0x20]
push 2
test eax, 0x20000000
je 0x43ffb4
mov edx, dword [esi]
mov ecx, edi
push edx
call fcn.0044c030
jmp 0x43ffbe
mov eax, dword [esi]
mov ecx, edi
push eax
call fcn.0044c060
mov eax, dword [esi + 0x20]
push 8
test eax, 0x40000000
je 0x43ffd6
mov ecx, dword [esi]
push ecx
mov ecx, edi
call fcn.0044c030
jmp 0x43ffe0
mov edx, dword [esi]
mov ecx, edi
push edx
call fcn.0044c060
mov eax, dword [esi + 0x20]
push 8
test eax, 0x80000000
je 0x440000
mov eax, dword [esi]
mov ecx, edi
push eax
call fcn.0044c030
pop edi
mov eax, 1
pop esi
ret 8
mov ecx, dword [esi]
push ecx
mov ecx, edi
call fcn.0044c060
pop edi
mov eax, 1
pop esi
ret 8

Function at 0x440be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x457a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp], eax
mov dword [esp], 0x10
mov dword [esp + 4], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], edx
call fcn.0044cfc0
lea eax, [esp]
push 2
push eax
push 0x10
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.0044d040
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x46a8a0
call fcn.0044ce70
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0044d000
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x442b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x457c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp], eax
push esi
mov dword [esp + 8], eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xe
call fcn.0044cfc0
lea edx, [esp + 4]
push 0xffffffffffffffff
push edx
push 0xe
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0
call fcn.0044d040
lea eax, [esp + 0x10]
mov ecx, 0x46a8a0
push eax
call fcn.0044ce70
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0044d000
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x448be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45826b
push eax
mov dword fs:[0], esp
push ebp
mov ebp, dword [esp + 0x18]
push esi
test ebp, ebp
push edi
je 0x448cb3
mov edx, dword [esp + 0x1c]
test edx, edx
jl 0x448cb3
cmp edx, 0x14
jge 0x448cb3
mov esi, dword [ecx + 4]
xor eax, eax
test esi, esi
jle 0x448cb3
lea edi, [edx + 0x78]
lea edx, [ecx + 8]
cmp dword [edx], edi
je 0x448c4c
inc eax
add edx, 0x38
cmp eax, esi
jl 0x448c2c
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 8
lea edx, [eax*8]
push 0x2f
sub edx, eax
push ebp
lea esi, [ecx + edx*8]
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov byte [esi + 0x3b], 0
mov eax, dword [esi + 0x3c]
add esp, 0xc
test eax, eax
jne 0x448ca7
push 0x90
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x448c9a
mov ecx, eax
call dword [sym.imp.2DEngineDll.dll_public:_void___thiscall_IXHandler::_mimage::constructor_void_]
jmp 0x448c9c
xor eax, eax
mov dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x3c], eax
mov ecx, dword [esi + 0x3c]
push 0
push ebp
call dword [sym.imp.2DEngineDll.dll_public:_bool___thiscall_IXHandler::_mimage::create_mimage_char_const___char_const__]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0xc
ret 8

Function at 0x4497d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebp
push esi
push 0x466914
push eax
xor ebp, ebp
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x449800
push eax
push eax
push str.Fail_to_open_file
call sub.MFC42.DLL_AfxMessageBox
mov eax, ebp
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push edi
mov edi, dword [esp + 0x1c]
push esi
push 1
push 4
push edi
call ebx
mov eax, dword [edi]
add esp, 0x10
test eax, eax
jbe 0x44985f
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x1c]
add esp, 4
test eax, eax
mov dword [ecx], eax
je 0x449854
mov edx, dword [edi]
push esi
push 1
push edx
push eax
call ebx
add esp, 0x10
mov ebp, 1
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, ebp
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
push 0
push 0
push str.new_data_failed
jmp 0x449868
push 0
push 0
push str.not_right_data_size
call sub.MFC42.DLL_AfxMessageBox
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, ebp
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x44c690
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4585c0
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
lea ebx, [esi + 0x14]
sub eax, ecx
jne 0x44c6df
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x24]
sub ecx, eax
jne 0x44c6df
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esi]
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
mov eax, dword [esi]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea edi, [esi + 0x44]
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::DeleteObject
push ebx
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
call ebx
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x45d230
lea ecx, [esi + 0x24]
mov dword [esp + 0x2c], 0
push ecx
call ebx
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, edx
test edi, edi
jne 0x44c783
xor ecx, ecx
jmp 0x44c786
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x48]
push 2
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
test edi, edi
je 0x44c79b
mov edi, dword [edi + 4]
mov eax, dword [esi]
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ecx, dword [esi]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0xc], 0x459d24
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x44cf30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0044cfc0
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 4], eax
lea edx, [esp + 4]
push 0xffffffffffffffff
mov dword [esp + 0xc], eax
push edx
mov dword [esp + 0x10], ecx
push 0xb
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], 0xb
call fcn.0044d040
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0044d000
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x44e41b
Capabilities:
Get file version info

Disassembly:
mov eax, 0x458758
call fcn.00453ab8
sub esp, 0x24
push ebx
push esi
xor ebx, ebx
lea ecx, [ebp + 8]
push ebx
push ebx
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
lea ecx, [ebp - 0x18]
mov esi, eax
call sub.MFC42.DLL_CString::CString_2
cmp esi, ebx
mov byte [ebp - 4], 1
jne 0x44e459
or esi, 0xffffffff
jmp 0x44e4e5
lea eax, [esi + 2]
push edi
push eax
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x10], eax
push eax
push esi
push ebx
push ebx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4661d0
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [ebp - 0x14]
push 0x64
xor edx, edx
pop ebx
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov esi, eax
mov edi, ecx
and eax, 0xffff
push dword [ebp - 0x10]
shr edi, 0x10
mov dword [ebp - 0x2c], eax
mov eax, edi
div ebx
and ecx, 0xffff
shr esi, 0x10
mov dword [ebp - 0x20], ecx
mov ebx, eax
imul eax, eax, 0x64
sub edi, eax
call sub.MFC42.DLL_operatordelete
imul esi, esi, 0x64
add esi, dword [ebp - 0x2c]
pop ecx
lea eax, [esi + esi*4]
lea esi, [ebx + eax*2]
imul esi, esi, 0x64
add esi, edi
pop edi
imul esi, esi, 0x64
add esi, dword [ebp - 0x20]
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x450691
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4506ed
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp + 0x14]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x4513d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
and byte [ebp - 0x104], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x103
push dword [ebp + 8]
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x10
xor edx, edx
test eax, eax
jle 0x451436
cmp byte [ebp + edx - 0x104], 0x2f
lea ecx, [ebp + edx - 0x104]
jne 0x451431
mov byte [ecx], 0x5c
inc edx
cmp edx, eax
jl 0x45141d
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea esi, [ebp - 0x104]
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll__mbschr]
pop ecx
test eax, eax
pop ecx
je 0x451498
mov bl, byte [eax + 1]
lea esi, [eax + 1]
test bl, bl
je 0x4514a6
and byte [esi], 0
lea eax, [ebp - 0x104]
push eax
push 0x46a1d8
call edi
pop ecx
test eax, eax
pop ecx
je 0x451494
lea eax, [ebp - 0x104]
push eax
push 0x46a1d4
call edi
pop ecx
test eax, eax
pop ecx
je 0x451494
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
pop ecx
mov byte [esi], bl
jmp 0x451442
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
pop ecx
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__mkdir]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x452680
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x94
xor eax, eax
mov edx, dword [esp + 0x98]
mov dword [esp + 9], eax
push ebx
mov dword [esp + 0x11], eax
mov ebx, ecx
mov ecx, dword [esp + 0xa8]
mov word [esp + 0x15], ax
mov byte [esp + 0x17], al
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], ecx
test eax, eax
mov dword [esp + 0x14], edx
je 0x4527c6
mov eax, dword [str.EPIPEMAGQQ]
mov ecx, dword [0x46a29c]
mov dx, word [0x46a2a0]
mov dword [esp + 0x18], eax
mov al, byte [0x46a2a2]
push ebp
push esi
push edi
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2e], al
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0x2f]
mov word [esp + 0x2c], dx
rep stosd dword es:[edi], eax
mov edx, dword [ebx + 0x24]
lea esi, [ebx + 0x24]
stosb byte es:[edi], al
mov edi, dword [esp + 0xac]
mov ecx, esi
push edi
call dword [edx]
push eax
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, eax
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x28]
push ebp
push edx
push edi
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [ebx + 0x10]
lea eax, [esp + 0x14]
push esi
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 8]
push eax
lea ecx, [esp + 0x20]
push 0xc
push ecx
push edx
call edi
test eax, eax
jne 0x45279e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc
push eax
mov ecx, ebx
call fcn.00452800
cmp eax, 1
jne 0x4527ba
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 8]
lea eax, [esp + 0x14]
push esi
push eax
push ecx
push ebp
push edx
call edi
test eax, eax
jne 0x4527a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.00452800
jmp 0x4527ba
cmp dword [esp + 0x14], 0xc
je 0x452773
jmp 0x4527b3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp edx, eax
je 0x4527ba
mov ecx, ebx
call fcn.00452850
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x10

Function at 0x4528f0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], eax
mov dword [0x49d81c], ecx
mov ecx, esi
call fcn.00452c30
mov eax, dword [esi + 4]
lea edx, [esp + 8]
push edx
push 0
push eax
push 0x452940
push 0
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret 8