Function at 0x452680
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4632db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
mov eax, dword [0x47c9f0]
mov dword [ebp - 0x1c], eax
push edi
mov dword [ebp - 0x474], ecx
mov eax, dword [ebp - 0x474]
cmp dword [eax + 0x4c], 0
jne 0x4526c0
xor eax, eax
jmp 0x452dba
mov byte [ebp - 0x12c], 0x27
mov byte [ebp - 0x12b], 0x62
mov byte [ebp - 0x12a], 0x94
mov byte [ebp - 0x129], 0x48
mov byte [ebp - 0x128], 0x79
mov byte [ebp - 0x127], 0x45
mov byte [ebp - 0x126], 0x57
mov byte [ebp - 0x125], 0x93
mov dword [ebp - 0x10], 8
mov ecx, dword [ebp - 0x474]
mov edx, dword [ecx + 0x48]
push edx
push 0
mov eax, dword [ebp - 0x474]
mov ecx, dword [eax + 0x4c]
push ecx
call sub.MSVCR71.dll_memset
add esp, 0xc
lea edx, [ebp - 0x408]
push edx
call fcn.00435540
mov ecx, eax
call fcn.00435a50
mov eax, dword [ebp - 0x474]
mov ecx, dword [eax + 0x60]
fstp qword [ecx + 0x10]
mov edx, dword [ebp - 0x474]
mov eax, dword [edx + 0x60]
mov dword [eax + 8], 1
mov ecx, dword [ebp - 0x474]
mov edx, dword [ecx + 0x60]
mov dword [edx + 0xc], 0x1c0
mov eax, dword [ebp - 0x474]
mov ecx, dword [eax + 0x60]
mov dword [ecx + 4], 0x16
mov edx, dword [ebp - 0x474]
mov eax, dword [edx + 0x60]
mov dword [eax], 0x5aa51188
push 0x1c0
push 0
lea ecx, [ebp - 0x3ec]
push ecx
call sub.MSVCR71.dll_memset
add esp, 0xc
call dword [sym.imp.MSVCR71.dll_rand]
mov dword [ebp - 0x3ec], eax
mov edx, dword [0x47cbec]
mov dword [ebp - 0x368], edx
push 0x10
mov ecx, dword [ebp - 0x474]
add ecx, 0x7c
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [ebp - 0x350]
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
push 0xe
mov ecx, 0x47cbe0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [ebp - 0x3e8]
push ecx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
push 0x40
push str.9f6c9bfa28b33ac9
lea edx, [ebp - 0x3a8]
push edx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, dword [0x47cbd4]
mov dword [ebp - 0x364], eax
push 0x10
push 0x47cbf0
lea ecx, [ebp - 0x360]
push ecx
call sub.MSVCR71.dll_memcpy
add esp, 0xc
push 0x20
mov ecx, 0x47cc04
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea edx, [ebp - 0x26c]
push edx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
push 0x20
mov ecx, 0x47cca0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [ebp - 0x2cc]
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
push 0x20
mov ecx, 0x47cca4
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
push 0x20
mov ecx, 0x47cca8
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea edx, [ebp - 0x320]
push edx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
push 0x20
mov ecx, 0x47ccac
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [ebp - 0x340]
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
push 0x1e
mov ecx, 0x47ccd8
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [ebp - 0x24c]
push ecx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
lea edx, [ebp - 0x300]
push edx
mov ecx, 0x47cbd0
call fcn.0043d640
mov eax, dword [ebp - 0x474]
mov ecx, dword [eax + 0x48]
sub ecx, 0x18
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x474]
mov eax, dword [edx + 0x6c]
push eax
push 0x1c0
lea ecx, [ebp - 0x3ec]
push ecx
call fcn.00456b90
add esp, 0x18
push 0x1d8
mov ecx, dword [ebp - 0x474]
add ecx, 0x44
call fcn.00401220
movzx edx, al
test edx, edx
jne 0x452943
xor eax, eax
jmp 0x452dba
push 0x120
mov ecx, dword [ebp - 0x474]
add ecx, 0x44
call fcn.00401740
movzx eax, al
test eax, eax
jne 0x452964
xor eax, eax
jmp 0x452dba
mov ecx, dword [ebp - 0x474]
mov edx, dword [ecx + 0x60]
cmp dword [edx], 0x5aa51188
jne 0x4529a5
mov eax, dword [ebp - 0x474]
mov ecx, dword [eax + 0x60]
cmp dword [ecx + 8], 1
jne 0x4529a5
mov edx, dword [ebp - 0x474]
mov eax, dword [edx + 0x60]
cmp dword [eax + 0xc], 0x108
jne 0x4529a5
mov ecx, dword [ebp - 0x474]
mov edx, dword [ecx + 0x60]
cmp dword [edx + 4], 0x16
je 0x4529ac
xor eax, eax
jmp 0x452dba
push 0x108
push 0
lea eax, [ebp - 0x124]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
mov dword [ebp - 0x14], 0x108
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x124]
push ecx
push 0x108
mov edx, dword [ebp - 0x474]
mov eax, dword [edx + 0x6c]
push eax
call fcn.00456c60
add esp, 0x18
mov byte [ebp - 0x22c], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x22b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp - 0x120]
push ecx
push 0x472540
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x18]
call fcn.0043e7e0
mov dword [ebp - 4], 0
push 0x2001f
mov ecx, dword [0x472310]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.0043e860
test eax, eax
jne 0x452b43
mov edx, dword [ebp - 0x10c]
and edx, 0
mov eax, dword [ebp - 0x108]
and eax, 0x40000000
mov dword [ebp - 0x47c], edx
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp - 0x47c]
or ecx, dword [ebp - 0x478]
je 0x452abb
cmp dword [ebp - 0x120], 7
je 0x452abb
cmp dword [ebp - 0x120], 5
je 0x452abb
cmp dword [ebp - 0x120], 4
je 0x452abb
mov dword [ebp - 0x120], 8
mov edx, dword [ebp - 0x120]
push edx
push str.nRes
lea ecx, [ebp - 0x18]
call fcn.0043e8b0
push 0x47255c
lea eax, [ebp - 0x418]
push eax
fld qword [ebp - 0xe4]
sub esp, 8
fstp qword [esp]
lea ecx, [ebp - 0x414]
call fcn.00435590
mov ecx, eax
call fcn.00435b50
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0x480]
mov dword [ebp - 0x484], ecx
mov byte [ebp - 4], 1
push 1
mov ecx, dword [ebp - 0x484]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
push 0x472570
lea ecx, [ebp - 0x18]
call fcn.0043e8e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x418]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp - 0x18]
call fcn.0043e820
cmp dword [ebp - 0x120], 1
je 0x452bfc
cmp dword [ebp - 0x120], 0
je 0x452bfc
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x430]
call fcn.00435400
sub esp, 0xc
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x424]
push edx
call fcn.00435540
mov ecx, eax
call fcn.00435a00
mov ecx, eax
call fcn.00435a50
fstp qword [ebp - 0xe4]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0x40000000
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x10c]
and eax, 0
mov ecx, dword [ebp - 0x108]
and ecx, 0x40000000
mov dword [ebp - 0x48c], eax
mov dword [ebp - 0x488], ecx
mov edx, dword [ebp - 0x48c]
or edx, dword [ebp - 0x488]
je 0x452c7a
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x454]
call fcn.00435400
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x460]
push ecx
lea edx, [ebp - 0x448]
push edx
call fcn.00435540
mov ecx, eax
call fcn.00435a00
mov ecx, eax
call fcn.00435a50
fstp qword [ebp - 0xe4]
lea eax, [ebp - 0x46c]
push eax
call fcn.00435540
mov ecx, dword [eax]
mov dword [0x47ccdc], ecx
mov edx, dword [eax + 4]
mov dword [0x47cce0], edx
mov eax, dword [eax + 8]
mov dword [0x47cce4], eax
fld qword [ebp - 0xe4]
fstp qword [0x47ccd0]
mov ecx, dword [ebp - 0x10c]
mov dword [0x47ccb0], ecx
mov edx, dword [ebp - 0x108]
mov dword [0x47ccb4], edx
mov eax, dword [ebp - 0x104]
mov dword [0x47ccb8], eax
mov ecx, dword [ebp - 0x100]
mov dword [0x47ccbc], ecx
mov edx, dword [ebp - 0xfc]
mov dword [0x47ccc0], edx
mov eax, dword [ebp - 0xf8]
mov dword [0x47ccc4], eax
mov ecx, dword [ebp - 0xf4]
mov dword [0x47ccc8], ecx
mov edx, dword [ebp - 0xf0]
mov dword [0x47cccc], edx
mov ecx, 0x47cbd0
call fcn.0043e290
push 0x47ccd8
fld qword [ebp - 0xe4]
sub esp, 8
fstp qword [esp]
mov ecx, 0x47cbd0
call fcn.0043e5e0
mov eax, dword [ebp - 0xf4]
and eax, 0xffff
mov ecx, dword [ebp - 0xf0]
and ecx, 0
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x3f8], ecx
mov edx, dword [ebp - 0x3fc]
mov dword [ebp - 0x3f0], edx
mov eax, dword [ebp - 0x3f0]
cmp eax, dword [0x47cbd4]
je 0x452d9b
cmp dword [ebp - 0x3f0], 0
jle 0x452d9b
cmp dword [ebp - 0x3f0], 0xffff
jge 0x452d9b
mov ecx, dword [ebp - 0x3f0]
push ecx
mov ecx, dword [0x47cd40]
call fcn.00402ac0
mov edx, dword [ebp - 0x3f0]
mov dword [0x47cbd4], edx
mov dword [ebp - 0x470], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0043e800
mov eax, dword [ebp - 0x470]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00458cfb
pop edi
mov esp, ebp
pop ebp
ret