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

Disassembly:
push 0xffffffffffffffff
push 0x4b66ae
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
mov dword [0x4dc2c8], 1
push edi
mov ecx, 0x40
mov dword [esi + 0x6250], eax
xor eax, eax
lea edi, [esp + 0x39]
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.004ad15f
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.004ac05e
mov ebp, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x38]
push ecx
call ebp
mov ecx, esi
call fcn.00440180
mov ecx, esi
mov dword [esi + 0xd6a8], eax
call fcn.00441ee0
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 ebp
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 0x43aabe
push 0
push str.CxImage::CreateDisplay_2D_D3D8__Failed_
call sub.MFC42.DLL_AfxMessageBox_1
jmp 0x43ae6a
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
call ebx
push 1
mov edi, eax
call ebx
cmp edi, 0x320
mov ebp, eax
jge 0x43aadb
mov edi, 0x320
cmp ebp, 0x258
jge 0x43aae8
mov ebp, 0x258
mov eax, dword [0x50d0a8]
test eax, eax
je 0x43aaf4
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 0x43aba5
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::DestroyDisplay_void_
push 0x4d3d40
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 0x43ab27
push str.2_CxImage::CreateDisplay_2D__Failed_
jmp 0x43ab47
mov ecx, dword [0x50d0a8]
test ecx, ecx
je 0x43ab34
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 0x43aba5
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 0x43ab77
push eax
push eax
push str.3_CxImage::CreateDisplay_D3D8__Failed__n
call sub.MFC42.DLL_AfxMessageBox_1
jmp 0x43ae6a
mov ecx, dword [0x50d0a8]
test ecx, ecx
je 0x43ab84
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 0x43aba5
push 0
push 0
push str.3_Create_D3D8_Failed__n
call sub.MFC42.DLL_AfxMessageBox_1
jmp 0x43ae6a
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::Initialize_void_
mov ecx, esi
call fcn.0043c650
lea ebx, [esi + 0x324]
mov ecx, ebx
call fcn.00492720
lea ecx, [esi + 0x2f54]
call fcn.00472d40
lea ecx, [esi + 0x6254]
call fcn.0048e240
test esi, esi
je 0x43abdd
lea eax, [esi + 0x14]
jmp 0x43abdf
xor eax, eax
push str.data_popo_popo_magic.mif
push eax
mov ecx, 0x4dc868
call fcn.00490b20
push 0xffffffffffffffff
mov ecx, 0x4dc868
call fcn.004915d0
test esi, esi
je 0x43ac04
lea eax, [esi + 0x14]
jmp 0x43ac06
xor eax, eax
push str.data_dlgpet_TipBgPt.mif
push eax
mov ecx, 0x4dc428
call fcn.00490b20
push 0xffffffffffffffff
mov ecx, 0x4dc428
call fcn.004915d0
push 0
mov ecx, 0x4dc428
call fcn.00490c40
push 0
push str.data_popo_popo.mif
lea ecx, [esi + 0xd654]
mov dword [0x4dc85c], 4
call fcn.00490640
lea ecx, [esi + 0x1e0]
call fcn.00470ab0
cmp dword [esi + 0xdb74], 0x13154e8
jl 0x43ac72
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, 0x50cf20
call fcn.00427850
push 0x4cdc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x248], 0
je 0x43ac9b
mov ecx, eax
call fcn.00422600
jmp 0x43ac9d
xor eax, eax
test eax, eax
mov dword [esp + 0x248], 0xffffffff
mov dword [esi + 0x4c], eax
je 0x43aced
mov dword [eax + 8], 0x50d75c
mov eax, dword [esi + 0x4c]
mov dword [eax + 4], 0x50d760
mov ecx, dword [esi + 0x4c]
call fcn.004229b0
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.00422cd0
mov ecx, dword [esi + 0x4c]
push 0
call fcn.00422cb0
lea ecx, [esi + 0x50]
call fcn.0049a320
mov ecx, esi
call fcn.0043c7c0
mov ecx, dword [esi + 0x61b4]
lea edi, [esi + 0x220]
push ecx
mov ecx, edi
call fcn.00499210
push 2
mov ecx, esi
mov dword [esi + 0x61bc], 1
call fcn.0043b5a0
push 0xcf
mov ecx, ebx
lea ebp, [esi + 0xdb78]
call fcn.00492e50
push eax
mov ecx, ebp
call fcn.00495b70
mov ecx, edi
call fcn.004992d0
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call fcn.004420b0
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.00495c90
push 0xd0
mov ecx, ebx
call fcn.00492e50
push eax
lea ecx, [esi + 0xddfc]
call fcn.004200e0
lea ecx, [esi + 0x605c]
call fcn.00498190
mov ecx, esi
call fcn.0043a990
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 0x43adee
lea ecx, [esp + 0x14]
mov dword [edi], 0x4bd9bc
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 0x43adf0
xor edi, edi
mov eax, dword [esi + 0x48]
mov dword [esi + 0xde50], edi
push eax
call fcn.0049af00
add esp, 4
xor edi, edi
lea ecx, [esi + 0xde8c]
push edi
push 1
push 1
push ebx
push ebp
call fcn.0049b020
mov ecx, dword [esi + 0x48]
push ecx
call fcn.0049af00
add esp, 4
lea ecx, [esi + 0xde54]
push edi
push 1
push 1
push ebx
push ebp
call fcn.0049b020
mov ecx, esi
call fcn.00445180
mov eax, dword [0x514e2c]
cmp eax, 8
je 0x43ae4a
cmp eax, 0x1c
jne 0x43ae5e
push edi
mov ecx, esi
mov dword [esi + 0x1e4], edi
mov dword [esi + 0x1ec], edi
call fcn.00444c60
call fcn.004197c0
mov ecx, eax
call fcn.00419960
mov ecx, dword [esp + 0x240]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x23c
ret 4