Function at 0x43a790
Capabilities:
Print debug messages
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4b5a3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov eax, dword [esp + 0x240]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
lea edi, [esp + 0x39]
mov dword [esi + 0x6250], eax
xor eax, eax
mov byte [esp + 0x38], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
push ecx
stosb byte es:[edi], al
call fcn.004ac51f
mov edx, dword [eax]
add esp, 4
lea eax, [esp + 0x38]
push edx
push str._sdata
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.004ab42e
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x38]
push ecx
call ebx
mov ecx, esi
call fcn.0043ff00
mov ecx, esi
mov dword [esi + 0xd6a8], eax
call fcn.00441c60
mov dword [esi + 0xdb74], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x13d]
mov byte [esp + 0x13c], 0
lea edx, [esp + 0x13c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
call sub.CLRenderNewEngine.dll_void___cdecl_QGEG::HELPER::GetRootPath_char__
add esp, 4
lea eax, [esp + 0x13c]
push eax
call ebx
push 0
call sub.CLRenderNewEngine.dll_public:_static_class_IDisplay____cdecl_CxImage::CreateDisplay_char_const__
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
push 0
jne 0x43a884
push 0
push str.CxImage::CreateDisplay_2D_D3D8__Failed_
call sub.MFC42.DLL_AfxMessageBox_1
jmp 0x43ac30
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
call ebx
push 1
mov edi, eax
call ebx
cmp edi, 0x320
mov ebp, eax
jge 0x43a8a1
mov edi, 0x320
cmp ebp, 0x258
jge 0x43a8ae
mov ebp, 0x258
mov eax, dword [0x50ae58]
test eax, eax
je 0x43a8ba
mov eax, dword [eax + 0x20]
mov ecx, dword [esi + 0x48]
push ebp
push edi
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
test eax, eax
je 0x43a96b
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::DestroyDisplay_void_
push 0x4d1cf4
call sub.CLRenderNewEngine.dll_public:_static_class_IDisplay____cdecl_CxImage::CreateDisplay_char_const__
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
jne 0x43a8ed
push str.2_CxImage::CreateDisplay_2D__Failed_
jmp 0x43a90d
mov ecx, dword [0x50ae58]
test ecx, ecx
je 0x43a8fa
mov ecx, dword [ecx + 0x20]
mov edx, dword [eax]
push ebp
push edi
push ecx
mov ecx, eax
call dword [edx + 0xc]
test eax, eax
je 0x43a96b
push str.2_Create_DirectDraw_Failed_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::DestroyDisplay_void_
push str.D3D8
call sub.CLRenderNewEngine.dll_public:_static_class_IDisplay____cdecl_CxImage::CreateDisplay_char_const__
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
jne 0x43a93d
push eax
push eax
push str.3_CxImage::CreateDisplay_D3D8__Failed__n
call sub.MFC42.DLL_AfxMessageBox_1
jmp 0x43ac30
mov ecx, dword [0x50ae58]
test ecx, ecx
je 0x43a94a
mov ecx, dword [ecx + 0x20]
mov edx, dword [eax]
push ebp
push edi
push ecx
mov ecx, eax
call dword [edx + 0xc]
test eax, eax
je 0x43a96b
push 0
push 0
push str.3_Create_D3D8_Failed__n
call sub.MFC42.DLL_AfxMessageBox_1
jmp 0x43ac30
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::Initialize_void_
mov ecx, esi
call fcn.0043c410
lea ebx, [esi + 0x324]
mov ecx, ebx
call fcn.00491af0
lea ecx, [esi + 0x2f54]
call fcn.00472090
lea ecx, [esi + 0x6254]
call fcn.0048d610
test esi, esi
je 0x43a9a3
lea eax, [esi + 0x14]
jmp 0x43a9a5
xor eax, eax
push str.data_popo_popo_magic.mif
push eax
mov ecx, 0x4da618
call fcn.0048fef0
push 0xffffffffffffffff
mov ecx, 0x4da618
call fcn.004909a0
test esi, esi
je 0x43a9ca
lea eax, [esi + 0x14]
jmp 0x43a9cc
xor eax, eax
push str.data_dlgpet_TipBgPt.mif
push eax
mov ecx, 0x4da1d8
call fcn.0048fef0
push 0xffffffffffffffff
mov ecx, 0x4da1d8
call fcn.004909a0
push 0
mov ecx, 0x4da1d8
call fcn.00490010
push 0
push str.data_popo_popo.mif
lea ecx, [esi + 0xd654]
mov dword [0x4da60c], 4
call fcn.0048fa10
lea ecx, [esi + 0x1e0]
call fcn.0046fe00
cmp dword [esi + 0xdb74], 0x13154e8
jl 0x43aa38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, 0x50acd0
call fcn.00427620
push 0x4cdc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x248], 0
je 0x43aa61
mov ecx, eax
call fcn.004223d0
jmp 0x43aa63
xor eax, eax
test eax, eax
mov dword [esp + 0x248], 0xffffffff
mov dword [esi + 0x4c], eax
je 0x43aab3
mov dword [eax + 8], 0x50b50c
mov eax, dword [esi + 0x4c]
mov dword [eax + 4], 0x50b510
mov ecx, dword [esi + 0x4c]
call fcn.00422780
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.__K___ca300d2_
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x4c]
call fcn.00422aa0
mov ecx, dword [esi + 0x4c]
push 0
call fcn.00422a80
lea ecx, [esi + 0x50]
call fcn.004996f0
mov ecx, esi
call fcn.0043c580
mov ecx, dword [esi + 0x61b4]
lea edi, [esi + 0x220]
push ecx
mov ecx, edi
call fcn.004985e0
push 2
mov ecx, esi
mov dword [esi + 0x61bc], 1
call fcn.0043b360
push 0xcf
mov ecx, ebx
lea ebp, [esi + 0xdb78]
call fcn.00492220
push eax
mov ecx, ebp
call fcn.00494f40
mov ecx, edi
call fcn.004986a0
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call fcn.00441e30
mov ecx, dword [esi + 0x6250]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
add edx, 5
mov ecx, ebp
push edx
push eax
call fcn.00495060
push 0xd0
mov ecx, ebx
call fcn.00492220
push eax
lea ecx, [esi + 0xddfc]
call fcn.0041feb0
lea ecx, [esi + 0x605c]
call fcn.00497560
mov ecx, esi
call fcn.0043a760
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebp, eax
call edi
push 0x10
mov ebx, eax
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x43abb4
lea ecx, [esp + 0x14]
mov dword [edi], 0x4bc9ac
push ecx
push 0
push 0x26200a
push 0
push ebx
push ebp
mov dword [esp + 0x2c], 0
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov edx, dword [esp + 0x14]
mov dword [edi + 8], eax
mov dword [edi + 4], edx
jmp 0x43abb6
xor edi, edi
mov eax, dword [esi + 0x48]
mov dword [esi + 0xde50], edi
push eax
call fcn.0049a2d0
add esp, 4
xor edi, edi
lea ecx, [esi + 0xde8c]
push edi
push 1
push 1
push ebx
push ebp
call fcn.0049a3f0
mov ecx, dword [esi + 0x48]
push ecx
call fcn.0049a2d0
add esp, 4
lea ecx, [esi + 0xde54]
push edi
push 1
push 1
push ebx
push ebp
call fcn.0049a3f0
mov ecx, esi
call fcn.00444f10
mov eax, dword [0x512be4]
cmp eax, 8
je 0x43ac10
cmp eax, 0x1c
jne 0x43ac24
push edi
mov ecx, esi
mov dword [esi + 0x1e4], edi
mov dword [esi + 0x1ec], edi
call fcn.004449f0
call fcn.00419590
mov ecx, eax
call fcn.00419730
mov ecx, dword [esp + 0x240]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x23c
ret 4