Function at 0x453560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5cac97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc08
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x4b0]
mov byte [esp + 0x13], bl
call fcn.004d7720
mov eax, dword [esp + 0xc28]
push 0x20
lea ecx, [esp + 0xa0]
mov dword [esp + 0xc24], ebx
mov eax, dword [eax]
push eax
call fcn.004b4ed0
lea ecx, [esp + 0x80]
push 6
push ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0xc28], 1
call sub.mfc42u.dll_CFile::Read
cmp eax, 6
jae 0x453613
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0xa0]
call dword [eax + 0x18]
mov edx, dword [esp + 0x9c]
lea ecx, [esp + 0x9c]
call dword [edx + 0x54]
mov eax, dword [esp + 0x18]
push eax
push 0xffffffffffffffff
push 1
call sub.mfc42u.dll_AfxThrowFileException
lea ecx, [esp + 0x18]
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x81]
push 0x61b398
push ecx
mov byte [esp + 0x8e], bl
call dword [sym.imp.msvcrt.dll__strcmpi]
add esp, 8
test eax, eax
jne 0x45373c
mov al, byte [esp + 0x80]
lea ecx, [esp + 0x18]
cmp al, 0x45
mov dword [esp + 0x14], ebx
setne dl
mov byte [esp + 0xac], dl
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc20], 2
call sub.mfc42u.dll_CFile::GetLength
mov esi, eax
lea ecx, [esp + 0x9c]
sub esi, 4
call sub.mfc42u.dll_CFile::GetPosition
cmp eax, esi
jae 0x45372b
mov edi, dword [esp + 0xc2c]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x9c]
push eax
call fcn.004b4f10
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 8], ebx
je 0x45372b
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0x14]
push 4
push edx
lea ecx, [esp + 0xa4]
call dword [eax + 0x3c]
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.msvcrt.dll_wcscmp]
add esp, 8
cmp eax, ebx
je 0x45370d
mov edx, dword [esp + 0x14]
push 1
push edx
lea ecx, [esp + 0xa4]
call sub.mfc42u.dll_CFile::Seek
lea ecx, [esp + 0x9c]
call sub.mfc42u.dll_CFile::GetLength
mov esi, eax
lea ecx, [esp + 0x9c]
sub esi, 4
call sub.mfc42u.dll_CFile::GetPosition
cmp eax, esi
jb 0x45368c
jmp 0x45372b
lea eax, [esp + 0x9c]
push ebx
push eax
lea ecx, [esp + 0x4b8]
call fcn.004d9d50
test eax, eax
je 0x45372b
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xc20], 1
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x9c]
call sub.mfc42u.dll_CFile::Close
cmp byte [esp + 0x13], bl
je 0x453c5d
lea ecx, [esp + 0x4b0]
call fcn.004da3f0
mov esi, 0x5e5c44
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov edi, dword [esp + 0xc34]
mov byte [esp + 0xc20], 3
cmp dword [edi + 8], ebx
jne 0x4538ab
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x4b4]
call fcn.004dfab0
mov ecx, eax
call fcn.00507470
lea ecx, [esp + 0x88]
call sub.mfc42u.dll_CUIntArray::CUIntArray
lea edx, [esp + 0x88]
lea ecx, [ebp + 0x2e0]
push edx
push edi
mov byte [esp + 0xc28], 4
call fcn.004e4190
mov eax, dword [esp + 0xc38]
lea ecx, [esp + 0x1c]
push eax
push edi
push ecx
call fcn.00507ad0
add esp, 0xc
test eax, eax
jg 0x45382b
push 1
push ebx
push ebx
push ebx
push 0x61bbac
push 0x61bba0
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call fcn.0046c660
add esp, 0x18
lea ecx, [esp + 0x88]
mov byte [esp + 0xc20], 3
call fcn.005c113c
mov dword [esp + 0x1c], esi
mov byte [esp + 0xc20], 5
jmp 0x453879
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 8]
add edx, 2
cmp eax, edx
jle 0x453897
push 1
push ebx
push ebx
push ebx
push 0x61ba7c
push 0x61ba60
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call fcn.0046c660
add esp, 0x18
lea ecx, [esp + 0x88]
mov byte [esp + 0xc20], 3
call fcn.005c113c
mov dword [esp + 0x1c], esi
mov byte [esp + 0xc20], 6
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x45388a
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x1c], 0x5e262c
jmp 0x453c5d
lea ecx, [esp + 0x88]
mov byte [esp + 0xc20], 3
call fcn.005c113c
mov ecx, dword [ebp + 0xb20]
lea esi, [ebp + 0xb18]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x14], eax
jle 0x4538e2
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + eax*4]
cmp ecx, ebx
je 0x4538d6
mov edx, dword [ecx]
push 1
call dword [edx + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4538c1
push 0xa
push ebx
mov ecx, esi
call fcn.0046d900
lea esi, [ebp + 0x2e0]
push edi
mov ecx, esi
call fcn.004e47e0
mov ecx, ebp
call fcn.00449420
push esi
lea ecx, [ebp + 0x190]
call fcn.004fa9b0
mov ecx, ebp
call fcn.0045f420
mov eax, 0x5e5c44
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov esi, 0x5e7a58
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
lea eax, [esp + 0x58]
lea ecx, [esp + 0x44]
push eax
push ecx
push edi
mov byte [esp + 0xc2c], 0xa
call fcn.004e28f0
mov ecx, dword [esp + 0xc3c]
lea edx, [esp + 0x78]
lea eax, [esp + 0x3c]
push edx
push eax
push ecx
call fcn.004e2840
mov edx, dword [esp + 0x50]
add esp, 0x18
imul edx, dword [esp + 0x4c]
test edx, edx
jne 0x453a7c
push 1
push ebx
push ebx
push ebx
push 0x61bb80
push 0x61bb6c
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call fcn.0046c6c0
add esp, 0x18
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x70]
mov byte [esp + 0xc20], 0xb
cmp eax, ebx
je 0x4539ee
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov edi, 0x5e262c
mov dword [esp + 0x30], esi
mov dword [esp + 0x6c], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xc20], 0xc
cmp eax, ebx
je 0x453a14
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e5c44
mov dword [esp + 0x30], edi
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x5c]
mov byte [esp + 0xc20], 0xd
cmp eax, ebx
je 0x453a3a
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xc20], 0xe
cmp eax, ebx
je 0x453a5b
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x20]
mov byte [esp + 0xc20], 0xf
cmp eax, ebx
je 0x453c59
jmp 0x453c50
mov ecx, dword [esp + 0x9d0]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x14], eax
jle 0x453b5e
mov ecx, dword [esp + 0x9cc]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.004ed430
test al, al
jne 0x453b41
lea edx, [esp + 0x44]
push esi
push edx
lea ecx, [esp + 0x4b8]
mov dword [esi + 0x128], ebx
call fcn.004dfab0
mov edx, dword [eax + 0x174]
xor ecx, ecx
cmp edx, 1
sete cl
push ecx
call fcn.004e29e0
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esi + 0x1c], eax
je 0x453b41
lea edx, [esp + 0x30]
push esi
push edx
call fcn.004e2b30
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
jne 0x453afb
mov dword [esi + 0x1c], eax
jmp 0x453b41
mov eax, dword [esi + 0x198]
push eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + edi*4]
mov eax, dword [esi + 0x1c]
shl eax, 5
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x60]
add eax, ecx
push edx
push eax
mov ecx, ebp
call fcn.004409b0
cmp eax, ebx
je 0x453b41
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + edi*4]
mov ecx, dword [edx + 0x1b0]
mov dword [eax + 0x128], esi
mov dword [eax + 0x1c], ecx
mov dword [esi + 0x128], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x9d0]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x453a91
mov esi, 0x5e7a58
mov ecx, ebp
call fcn.0045f330
mov eax, 1
nop
nop
nop
nop
nop
nop
nop
nop
test eax, eax
jne 0x453b7e
push 1
call dword [sym.imp.msvcrt.dll__exit]
lea edx, [esp + 0x4b0]
mov ecx, ebp
push edx
push ebx
call fcn.00453cb0
push fcn.00453cb0
call fcn.004cfc8c
add esp, 4
test eax, eax
jne 0x453ba7
push 1
call dword [sym.imp.msvcrt.dll__exit]
mov ecx, ebp
call fcn.00453470
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x70]
mov byte [esp + 0xc20], 0x10
cmp eax, ebx
je 0x453bcb
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov edi, 0x5e262c
mov dword [esp + 0x30], esi
mov dword [esp + 0x6c], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0xc20], 0x11
cmp eax, ebx
je 0x453bf1
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e5c44
mov dword [esp + 0x30], edi
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x5c]
mov byte [esp + 0xc20], 0x12
cmp eax, ebx
je 0x453c17
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xc20], 0x13
cmp eax, ebx
je 0x453c38
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x20]
mov byte [esp + 0xc20], 0x14
cmp eax, ebx
je 0x453c59
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc20], bl
call fcn.004b4f00
lea ecx, [esp + 0x4b0]
mov dword [esp + 0xc20], 0xffffffff
call fcn.004d7950
mov ecx, dword [esp + 0xc18]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0xc14
ret 0x14