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

Disassembly:
push 0xffffffffffffffff
push 0x4cc189
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
lea ecx, [esp + 0x24]
call sub.mfc100.dll_Ordinal_421
lea ecx, [esp + 0x10]
mov dword [esp + 0x248], 0
call sub.mfc100.dll_Ordinal_417
mov esi, vtable.CFileException.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], esi
call dword [sym.imp.mfc100.dll_Ordinal_316]
or edi, 0xffffffff
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x24c], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], edi
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push 0x5bfd58
mov byte [esp + 0x24c], 2
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x10]
push ecx
push 0x8000
xor eax, eax
push 0x4f42e0
lea ecx, [esp + 0x30]
mov word [0x5bfcb0], ax
call sub.mfc100.dll_Ordinal_10906
test eax, eax
je 0x45c506
push 2
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x2c]
call sub.mfc100.dll_Ordinal_11277
mov eax, 0x1300
cmp word [esp + 0xc], ax
je 0x45c4e3
lea ecx, [esp + 0x24]
call sub.mfc100.dll_Ordinal_2524
push 0x5bfd58
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [0x550f71], 1
mov byte [0x550e79], 1
jmp 0x45c511
push 0x200
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x2c]
call sub.mfc100.dll_Ordinal_11277
cmp eax, 0x200
je 0x45c530
lea ecx, [esp + 0x24]
call sub.mfc100.dll_Ordinal_2524
push 0x5bfd58
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], esi
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [esp + 0x248], edi
jmp 0x45c9e4
push 0x2e4
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x38], eax
mov byte [esp + 0x248], 3
test eax, eax
je 0x45c556
mov ecx, eax
call fcn.0045c0f0
jmp 0x45c558
xor eax, eax
movzx edx, word [0x5bfcb0]
mov dword [edx*4 + 0x5b6070], eax
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
movzx edx, word [0x5bfcb0]
mov eax, dword [edx*4 + 0x5b6070]
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
movzx edx, word [0x5bfcb0]
mov eax, dword [edx*4 + 0x5b6070]
movzx ecx, byte [esp + 0x40]
mov byte [eax + 8], cl
movzx edx, word [0x5bfcb0]
mov eax, dword [edx*4 + 0x5b6070]
movzx ecx, byte [esp + 0x49]
mov byte [eax + 0x11], cl
movzx edx, word [0x5bfcb0]
mov eax, dword [edx*4 + 0x5b6070]
mov ecx, dword [esp + 0x4a]
mov dword [eax + 0x12], ecx
mov dx, word [esp + 0x4e]
mov word [eax + 0x16], dx
movzx eax, word [0x5bfcb0]
mov eax, dword [eax*4 + 0x5b6070]
mov cx, word [esp + 0x50]
mov word [eax + 0x18], cx
movzx edx, byte [esp + 0x52]
mov byte [eax + 0x1a], dl
movzx eax, word [0x5bfcb0]
mov ecx, dword [eax*4 + 0x5b6070]
mov edx, dword [esp + 0x54]
mov dword [ecx + 0x1c], edx
movzx eax, word [0x5bfcb0]
mov ecx, dword [eax*4 + 0x5b6070]
mov edx, dword [esp + 0x58]
mov dword [ecx + 0x20], edx
movzx eax, word [0x5bfcb0]
mov ecx, dword [eax*4 + 0x5b6070]
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0x24], edx
movzx eax, word [0x5bfcb0]
mov ecx, dword [eax*4 + 0x5b6070]
mov edx, dword [esp + 0x60]
mov dword [ecx + 0x28], edx
movzx eax, word [0x5bfcb0]
mov ecx, dword [eax*4 + 0x5b6070]
mov edx, dword [esp + 0x64]
mov dword [ecx + 0x2c], edx
movzx eax, word [0x5bfcb0]
mov ecx, dword [eax*4 + 0x5b6070]
mov edx, dword [esp + 0x68]
mov dword [ecx + 0x30], edx
movzx eax, word [0x5bfcb0]
mov ecx, dword [eax*4 + 0x5b6070]
mov edx, dword [esp + 0x70]
mov dword [ecx + 0x38], edx
movzx eax, word [0x5bfcb0]
mov ecx, dword [eax*4 + 0x5b6070]
mov edx, dword [esp + 0x74]
mov dword [ecx + 0x3c], edx
movzx eax, word [0x5bfcb0]
mov ecx, dword [eax*4 + 0x5b6070]
mov edx, dword [esp + 0x78]
mov dword [ecx + 0x40], edx
movzx eax, word [0x5bfcb0]
mov ecx, dword [eax*4 + 0x5b6070]
mov edx, dword [esp + 0x7c]
mov dword [ecx + 0x44], edx
movzx eax, word [0x5bfcb0]
mov ecx, dword [eax*4 + 0x5b6070]
mov edx, dword [esp + 0x80]
mov dword [ecx + 0x48], edx
movzx eax, word [0x5bfcb0]
mov edi, dword [eax*4 + 0x5b6070]
add edi, 0x4c
mov ecx, 0xb
lea esi, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov byte [esp + 0x248], 2
movsb byte es:[edi], byte [esi]
movzx ecx, word [0x5bfcb0]
mov edx, dword [ecx*4 + 0x5b6070]
movzx eax, byte [esp + 0x1bd]
mov byte [edx + 0x185], al
movzx ecx, word [0x5bfcb0]
mov edx, dword [ecx*4 + 0x5b6070]
mov eax, dword [esp + 0xb4]
mov dword [edx + 0x7c], eax
movzx ecx, word [0x5bfcb0]
mov edx, dword [ecx*4 + 0x5b6070]
mov eax, dword [esp + 0xb8]
mov dword [edx + 0x80], eax
movzx ecx, word [0x5bfcb0]
mov edx, dword [ecx*4 + 0x5b6070]
movzx eax, byte [esp + 0xbc]
mov byte [edx + 0x84], al
movzx ecx, word [0x5bfcb0]
mov edi, dword [ecx*4 + 0x5b6070]
add edi, 0x85
mov ecx, 0x3f
lea esi, [esp + 0xbd]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
movzx edx, word [0x5bfcb0]
mov eax, dword [edx*4 + 0x5b6070]
movzx ecx, byte [esp + 0x1bc]
mov byte [eax + 0x184], cl
movzx edx, word [0x5bfcb0]
mov eax, dword [edx*4 + 0x5b6070]
mov ecx, dword [esp + 0x1c0]
mov dword [eax + 0x188], ecx
mov edx, dword [esp + 0x1c4]
mov dword [eax + 0x18c], edx
mov ecx, dword [esp + 0x1c8]
mov dword [eax + 0x190], ecx
mov edx, dword [esp + 0x1cc]
mov dword [eax + 0x194], edx
movzx eax, word [0x5bfcb0]
mov ecx, dword [eax*4 + 0x5b6070]
movzx edx, byte [esp + 0x1d0]
mov byte [ecx + 0x198], dl
movzx eax, word [0x5bfcb0]
mov eax, dword [eax*4 + 0x5b6070]
mov ecx, dword [esp + 0x1d1]
mov dword [eax + 0x199], ecx
mov edx, dword [esp + 0x1d5]
mov dword [eax + 0x19d], edx
mov ecx, dword [esp + 0x1d9]
mov dword [eax + 0x1a1], ecx
mov edx, dword [esp + 0x1dd]
mov dword [eax + 0x1a5], edx
movzx ecx, byte [esp + 0x1e1]
mov byte [eax + 0x1a9], cl
movzx edx, word [0x5bfcb0]
mov eax, dword [edx*4 + 0x5b6070]
mov ecx, dword [esp + 0x1e2]
mov dword [eax + 0x1aa], ecx
mov edx, dword [esp + 0x1e6]
mov dword [eax + 0x1ae], edx
mov ecx, dword [esp + 0x1ea]
mov dword [eax + 0x1b2], ecx
movzx edx, word [0x5bfcb0]
mov eax, dword [edx*4 + 0x5b6070]
mov ecx, dword [esp + 0x1ee]
mov dword [eax + 0x1b6], ecx
movzx edx, byte [esp + 0x1f2]
mov byte [eax + 0x1ba], dl
movzx eax, word [0x5bfcb0]
mov eax, dword [eax*4 + 0x5b6070]
mov ecx, dword [esp + 0x1f3]
mov dword [eax + 0x1bb], ecx
movzx edx, byte [esp + 0x1f7]
mov byte [eax + 0x1bf], dl
movzx eax, word [0x5bfcb0]
mov edi, dword [eax*4 + 0x5b6070]
add edi, 0x1c0
mov ecx, 0xc
lea esi, [esp + 0x1f8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movzx ecx, word [0x5bfcb0]
mov edx, dword [ecx*4 + 0x5b6070]
movzx eax, byte [esp + 0x22b]
mov byte [edx + 0x1f3], al
movzx ecx, word [0x5bfcb0]
mov edx, dword [ecx*4 + 0x5b6070]
movzx eax, byte [esp + 0x22c]
mov byte [edx + 0x1f4], al
movzx ecx, word [0x5bfcb0]
mov edx, dword [ecx*4 + 0x5b6070]
mov eax, dword [esp + 0x238]
mov dword [edx + 0x200], eax
movzx ecx, word [0x5bfcb0]
mov edx, dword [ecx*4 + 0x5b6070]
mov eax, dword [esp + 0x234]
mov dword [edx + 0x1fc], eax
movzx ecx, word [0x5bfcb0]
mov edx, dword [ecx*4 + 0x5b6070]
movzx eax, byte [esp + 0x230]
push 0x200
lea ecx, [esp + 0x40]
push ecx
mov byte [edx + 0x1f8], al
inc word [0x5bfcb0]
lea ecx, [esp + 0x2c]
call sub.mfc100.dll_Ordinal_11277
cmp eax, 0x200
je 0x45c530
lea ecx, [esp + 0x24]
call sub.mfc100.dll_Ordinal_2524
push 0x5bfd58
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], vtable.CFileException.0
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x24]
call sub.mfc100.dll_Ordinal_977
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004c6212
add esp, 0x240
ret