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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dc7ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x32c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x48], 0
cmp dword [esi + 0x218], 3
jge 0x4b3aff
mov esi, dword [ebp + 8]
push 0x4ffb68
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
jmp 0x4b4926
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString
mov edi, 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x340], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x340], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x340], 3
call sub.MFC42.DLL_CString::CString
push 0x4ff2f4
lea ecx, [esp + 0x40]
mov byte [esp + 0x344], 4
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x3c]
push 0
push eax
push 6
push 0
push 0x4fe7d8
push 0
lea ecx, [esp + 0x154]
mov byte [esp + 0x358], 5
call fcn.004ce0c6
lea ecx, [esp + 0x13c]
mov byte [esp + 0x340], 6
call sub.MFC42.DLL_CFileDialog::DoModal
cmp eax, 2
jne 0x4b3bb4
mov esi, dword [ebp + 8]
push 0x4ffb68
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x48], edi
mov byte [esp + 0x340], 7
jmp 0x4b48b1
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x140]
call sub.MFC42.DLL_CFileDialog::GetPathName
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x344], 8
call fcn.004ce0b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], 6
call fcn.004ce042
lea edx, [esp + 0x10]
lea ecx, [esp + 0x13c]
push edx
call sub.MFC42.DLL_CFileDialog::GetFileName
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x344], 9
call fcn.004ce0b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], 6
call fcn.004ce042
lea eax, [esp + 0x10]
lea ecx, [esp + 0x13c]
push eax
call sub.MFC42.DLL_CFileDialog::GetFileTitle
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x344], 0xa
call fcn.004ce0b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], 6
call fcn.004ce042
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x140]
call sub.MFC42.DLL_CFileDialog::GetFileExt
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x344], 0xb
call fcn.004ce0b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x340], 6
call fcn.004ce042
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::MakeUpper
mov edx, dword [esp + 0x34]
push 0x4fe6f0
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4b3cc4
mov esi, dword [ebp + 8]
push 0x4ffb68
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x48], edi
mov byte [esp + 0x340], 0xc
jmp 0x4b48b1
mov eax, dword [esp + 0x38]
push 0x4fd444
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4b3cfd
mov esi, dword [ebp + 8]
push 0x4ffb68
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x48], edi
mov byte [esp + 0x340], 0xd
jmp 0x4b48b1
mov eax, dword [esi + 0x218]
xor edi, edi
test eax, eax
jl 0x4b3f44
mov ecx, dword [esp + 0x1c]
add esi, 0x38
lea eax, [ecx + 0x220]
mov dword [esp + 0x14], eax
jmp 0x4b3d24
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push edi
push 0x4ff2d0
push ebx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x14
lea ecx, [esp + 0xf4]
push ecx
mov ecx, esi
call fcn.00419ca0
mov dword [esp + 0x10], eax
lea edx, [esp + 0x100]
mov ecx, esi
push edx
mov byte [esp + 0x344], 0xe
call fcn.00419ca0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10c]
mov ecx, esi
push eax
mov byte [esp + 0x344], 0xf
call fcn.00419ca0
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x124]
mov byte [esp + 0x340], 0x10
push ecx
mov ecx, esi
call fcn.00418960
mov dword [esp + 0x24], eax
lea edx, [esp + 0x130]
mov ecx, esi
push edx
mov byte [esp + 0x344], 0x11
call fcn.00418960
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x118]
mov ecx, esi
push eax
mov byte [esp + 0x344], 0x12
call fcn.00418960
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
sub esp, 8
fld dword [ecx + 8]
mov ecx, dword [esp + 0x28]
fstp qword [esp]
fld dword [edx + 4]
mov edx, dword [esp + 0x2c]
sub esp, 8
fstp qword [esp]
fld dword [ecx]
mov ecx, dword [esp + 0x3c]
sub esp, 8
fstp qword [esp]
fld dword [edx + 8]
sub esp, 8
fstp qword [esp]
fld dword [ecx + 4]
sub esp, 8
fstp qword [esp]
fld dword [eax]
sub esp, 8
fstp qword [esp]
push 0x4ff280
push ebx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x38
lea edx, [esp + 0xe8]
mov ecx, esi
mov byte [esp + 0x340], 6
push edx
call fcn.004b5fc0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xac]
mov ecx, esi
push eax
mov byte [esp + 0x344], 0x13
call fcn.004b5fc0
mov dword [esp + 0x24], eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x340], 0x14
push ecx
mov ecx, esi
call fcn.004b5fc0
mov dword [esp + 0x20], eax
lea edx, [esp + 0xdc]
mov ecx, esi
push edx
mov byte [esp + 0x344], 0x15
call fcn.004b5f90
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb8]
mov ecx, esi
push eax
mov byte [esp + 0x344], 0x16
call fcn.004b5f90
mov dword [esp + 0x18], eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x340], 0x17
push ecx
mov ecx, esi
call fcn.004b5f90
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
sub esp, 8
fld dword [edx + 8]
mov edx, dword [esp + 0x28]
fstp qword [esp]
fld dword [ecx + 4]
mov ecx, dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
fld dword [edx]
mov edx, dword [esp + 0x28]
sub esp, 8
fstp qword [esp]
fld dword [ecx + 8]
sub esp, 8
fstp qword [esp]
fld dword [edx + 4]
sub esp, 8
fstp qword [esp]
fld dword [eax]
sub esp, 8
fstp qword [esp]
push 0x4ff230
push ebx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [esp + 0x4c]
add esp, 0x38
add eax, 8
inc edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
add esi, 0x60
mov byte [esp + 0x340], 6
cmp edi, dword [eax + 0x218]
jle 0x4b3d20
mov esi, dword [sym.imp.MSVCRT.dll_fprintf]
push 0x4fe8d4
push ebx
call esi
mov eax, dword [esp + 0x24]
add esp, 8
mov edi, dword [eax + 0x218]
sub edi, 3
neg edi
sbb edi, edi
xor ecx, ecx
and edi, 3
add edi, 5
test edi, edi
jle 0x4b401c
add eax, 0x248
mov dword [esp + 0x14], eax
lea eax, [ecx + 1]
mov edx, eax
mov dword [esp + 0x18], eax
and edx, 0x80000001
jns 0x4b3f95
dec edx
or edx, 0xfffffffe
inc edx
cmp edx, 1
jne 0x4b3fa4
mov dword [esp + 0x10], 0
jmp 0x4b3fad
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x4b3fdf
cmp ecx, 7
je 0x4b3fdf
cmp ecx, 1
je 0x4b3fd8
cmp ecx, 2
je 0x4b3fd8
cmp ecx, 3
je 0x4b3fd1
cmp ecx, 4
je 0x4b3fd1
mov edx, 4
jmp 0x4b3fe4
mov edx, 3
jmp 0x4b3fe4
mov edx, 2
jmp 0x4b3fe4
mov edx, 1
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push 0x4ff20c
push ebx
call esi
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add esp, 0x1c
add edx, 8
cmp ecx, edi
mov dword [esp + 0x14], edx
jl 0x4b3f7f
push 0x4fe8d4
push ebx
call esi
mov edi, dword [esp + 0x24]
add esp, 8
cmp dword [edi + 0x218], 3
jne 0x4b423d
xor eax, eax
add edi, 0x2e8
lea ecx, [eax + 1]
push eax
push ecx
push eax
push 0x4ff1f4
push ebx
mov dword [esp + 0x2c], ecx
call esi
add esp, 0x14
lea edx, [esp + 0xd0]
mov ecx, edi
push edx
call fcn.004b5fc0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xb8]
mov ecx, edi
push eax
mov byte [esp + 0x344], 0x18
call fcn.004b5fc0
mov dword [esp + 0x24], eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x340], 0x19
push ecx
mov ecx, edi
call fcn.004b5fc0
mov dword [esp + 0x20], eax
lea edx, [esp + 0xc4]
mov ecx, edi
push edx
mov byte [esp + 0x344], 0x1a
call fcn.00418960
mov dword [esp + 0x10], eax
lea eax, [esp + 0xac]
mov ecx, edi
push eax
mov byte [esp + 0x344], 0x1b
call fcn.00418960
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x340], 0x1c
push ecx
mov ecx, edi
call fcn.00418960
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
sub esp, 8
fld dword [edx + 8]
mov edx, dword [esp + 0x28]
fstp qword [esp]
fld dword [ecx + 4]
mov ecx, dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
fld dword [edx]
mov edx, dword [esp + 0x24]
sub esp, 8
fstp qword [esp]
fld dword [ecx + 8]
sub esp, 8
fstp qword [esp]
fld dword [edx + 4]
sub esp, 8
fstp qword [esp]
fld dword [eax]
sub esp, 8
fstp qword [esp]
push 0x4ff1a8
push ebx
call esi
mov eax, dword [esp + 0x50]
add esp, 0x38
add edi, 0x60
cmp eax, 3
mov byte [esp + 0x340], 6
jl 0x4b4040
push 0x4ff190
push ebx
call esi
mov eax, dword [esp + 0x24]
add esp, 8
lea ecx, [esp + 0xd0]
lea edi, [eax + 0x408]
push ecx
mov ecx, edi
call fcn.004b5fc0
mov dword [esp + 0x2c], eax
lea edx, [esp + 0xb8]
mov ecx, edi
push edx
mov byte [esp + 0x344], 0x1d
call fcn.004b5fc0
mov dword [esp + 0x24], eax
lea eax, [esp + 0xdc]
mov ecx, edi
push eax
mov byte [esp + 0x344], 0x1e
call fcn.004b5fc0
mov dword [esp + 0x20], eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x340], 0x1f
push ecx
mov ecx, edi
call fcn.00418960
mov dword [esp + 0x10], eax
lea edx, [esp + 0xac]
mov ecx, edi
push edx
mov byte [esp + 0x344], 0x20
call fcn.00418960
mov dword [esp + 0x14], eax
lea eax, [esp + 0xe8]
mov ecx, edi
push eax
mov byte [esp + 0x344], 0x21
call fcn.00418960
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sub esp, 8
fld dword [ecx + 8]
mov ecx, dword [esp + 0x28]
fstp qword [esp]
fld dword [edx + 4]
mov edx, dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
fld dword [ecx]
sub esp, 8
mov ecx, dword [esp + 0x2c]
fstp qword [esp]
fld dword [edx + 8]
sub esp, 8
fstp qword [esp]
jmp 0x4b4440
xor eax, eax
add edi, 0x2e8
lea ecx, [eax + 1]
push eax
mov dword [esp + 0x1c], ecx
lea edx, [ecx + 1]
push edx
push ecx
push 0x4ff1f4
push ebx
call esi
add esp, 0x14
lea eax, [esp + 0xd0]
mov ecx, edi
push eax
call fcn.004b5fc0
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x340], 0x22
push ecx
mov ecx, edi
call fcn.004b5fc0
mov dword [esp + 0x24], eax
lea edx, [esp + 0xdc]
mov ecx, edi
push edx
mov byte [esp + 0x344], 0x23
call fcn.004b5fc0
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc4]
mov ecx, edi
push eax
mov byte [esp + 0x344], 0x24
call fcn.00418960
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x340], 0x25
push ecx
mov ecx, edi
call fcn.00418960
mov dword [esp + 0x14], eax
lea edx, [esp + 0xe8]
mov ecx, edi
push edx
mov byte [esp + 0x344], 0x26
call fcn.00418960
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sub esp, 8
fld dword [ecx + 8]
mov ecx, dword [esp + 0x28]
fstp qword [esp]
fld dword [edx + 4]
mov edx, dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
fld dword [ecx]
mov ecx, dword [esp + 0x24]
sub esp, 8
fstp qword [esp]
fld dword [edx + 8]
sub esp, 8
fstp qword [esp]
fld dword [ecx + 4]
sub esp, 8
fstp qword [esp]
fld dword [eax]
sub esp, 8
fstp qword [esp]
push 0x4ff1a8
push ebx
call esi
mov eax, dword [esp + 0x50]
add esp, 0x38
add edi, 0x60
cmp eax, 3
mov byte [esp + 0x340], 6
jl 0x4b4245
push 0x4ff17c
push ebx
call esi
mov edx, dword [esp + 0x24]
add esp, 8
lea eax, [esp + 0xd0]
lea edi, [edx + 0x408]
push eax
mov ecx, edi
call fcn.004b5fc0
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x340], 0x27
push ecx
mov ecx, edi
call fcn.004b5fc0
mov dword [esp + 0x24], eax
lea edx, [esp + 0xdc]
mov ecx, edi
push edx
mov byte [esp + 0x344], 0x28
call fcn.004b5fc0
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc4]
mov ecx, edi
push eax
mov byte [esp + 0x344], 0x29
call fcn.00418960
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x340], 0x2a
push ecx
mov ecx, edi
call fcn.00418960
mov dword [esp + 0x14], eax
lea edx, [esp + 0xe8]
mov ecx, edi
push edx
mov byte [esp + 0x344], 0x2b
call fcn.00418960
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sub esp, 8
fld dword [ecx + 8]
mov ecx, dword [esp + 0x28]
fstp qword [esp]
fld dword [edx + 4]
mov edx, dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
fld dword [ecx]
sub esp, 8
mov ecx, dword [esp + 0x2c]
fstp qword [esp]
fld dword [edx + 8]
sub esp, 8
fstp qword [esp]
fld dword [ecx + 4]
sub esp, 8
fstp qword [esp]
fld dword [eax]
sub esp, 8
fstp qword [esp]
push 0x4ff1a8
push ebx
call esi
add esp, 0x38
mov byte [esp + 0x340], 6
push 0x4fe8d4
push ebx
call esi
mov edx, dword [esp + 0x24]
add esp, 8
xor eax, eax
lea edi, [edx + 0xc]
lea ecx, [eax + 1]
push eax
mov dword [esp + 0x1c], ecx
lea eax, [ecx + 1]
push eax
push ecx
push 0x4ff160
push ebx
call esi
fld dword [edi + 4]
add esp, 0xc
fstp qword [esp]
fld dword [edi]
sub esp, 8
fstp qword [esp]
fld dword [edi - 4]
sub esp, 8
fstp qword [esp]
push str.___13.4f___13.4f___13.4f__n
push ebx
call esi
mov eax, dword [esp + 0x38]
add esp, 0x20
add edi, 0xc
cmp eax, 2
jl 0x4b4478
mov edi, dword [esp + 0x1c]
cmp dword [edi + 0x218], 4
jne 0x4b4521
push 0x4ff128
push ebx
call esi
fld dword [edi + 0x28]
fstp qword [esp]
fld dword [edi + 0x24]
sub esp, 8
fstp qword [esp]
fld dword [edi + 0x20]
sub esp, 8
fstp qword [esp]
push str.___13.4f___13.4f___13.4f__n
push ebx
call esi
add esp, 0x20
push 0x4ff10c
push ebx
call esi
fld dword [edi + 0x34]
fstp qword [esp]
fld dword [edi + 0x30]
sub esp, 8
fstp qword [esp]
fld dword [edi + 0x2c]
sub esp, 8
fstp qword [esp]
push str.___13.4f___13.4f___13.4f__n
push ebx
call esi
add esp, 0x20
push 0x4fe8d4
push ebx
call esi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x5c]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x84], eax
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [esp + 0x8c]
mov dword [esp + 0x88], eax
add esp, 8
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
cmp dword [edi + 0x218], 4
jne 0x4b47ef
lea eax, [edi + 0x288]
xor edx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
xor ecx, ecx
lea eax, [edi + 0x2b8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0x412e8480
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
fld qword [eax]
mov eax, dword [esp + 0x14]
fsub qword [eax]
fabs
fcom qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x4b45c5
fstp qword [esp + 0x24]
mov dword [esp + 0x18], ecx
jmp 0x4b45c7
fstp st(0)
mov eax, dword [esp + 0x14]
inc ecx
add eax, 8
cmp ecx, 6
mov dword [esp + 0x14], eax
jl 0x4b45a2
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add edx, 8
add eax, 8
fld qword [edi + ecx*8 + 0x2b8]
cmp edx, 0x30
mov dword [esp + 0x1c], eax
fst qword [esp + edx + 0x44]
fld qword [eax - 8]
fsub st(1)
fstp qword [esp + edx + 0x74]
fstp st(0)
jl 0x4b4586
fld qword [edi + 0x2a8]
fcomp qword [edi + 0x2b0]
fld qword [edi + 0x2d8]
fnstsw ax
fcomp qword [edi + 0x2e0]
test ah, 0x41
fnstsw ax
jne 0x4b4655
test ah, 0x41
je 0x4b4684
mov eax, dword [edi + 0x2e0]
mov ecx, dword [edi + 0x2e4]
mov edx, dword [edi + 0x2d8]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x2dc]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
jmp 0x4b46ac
test ah, 0x41
jne 0x4b4684
mov ecx, dword [edi + 0x2e0]
mov edx, dword [edi + 0x2e4]
mov eax, dword [edi + 0x2d8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + 0x2dc]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
jmp 0x4b46ac
mov edx, dword [edi + 0x2d8]
mov eax, dword [edi + 0x2dc]
mov ecx, dword [edi + 0x2e0]
mov dword [esp + 0x6c], edx
mov edx, dword [edi + 0x2e4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
fld qword [edi + 0x2a8]
fsub qword [esp + 0x6c]
push 0x4ff0b8
push ebx
fstp qword [esp + 0xa4]
fld qword [edi + 0x2b0]
fsub qword [esp + 0x7c]
fstp qword [esp + 0xac]
call esi
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
add esp, 8
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
push ecx
push edx
push 0x4ff084
push ebx
call esi
mov eax, dword [edi + 0x2b4]
mov ecx, dword [edi + 0x2b0]
mov edx, dword [edi + 0x2ac]
add esp, 0x38
push eax
mov eax, dword [edi + 0x2a8]
push ecx
mov ecx, dword [edi + 0x2a4]
push edx
mov edx, dword [edi + 0x2a0]
push eax
mov eax, dword [edi + 0x29c]
push ecx
mov ecx, dword [edi + 0x298]
push edx
mov edx, dword [edi + 0x294]
push eax
mov eax, dword [edi + 0x290]
push ecx
push edx
push eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
push 0x4ff050
push ebx
call esi
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
add esp, 0x38
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push ecx
push edx
push eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
push ecx
push edx
push 0x4ff01c
push ebx
call esi
add esp, 0x38
jmp 0x4b4888
xor ecx, ecx
mov dword [esp + 0x28], 0x412e8480
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ecx
lea edx, [edi + 0x2b8]
fld qword [edi + 0x288]
fsub qword [edx]
fabs
fcom qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x4b4826
fstp qword [esp + 0x24]
mov dword [esp + 0x18], ecx
jmp 0x4b4828
fstp st(0)
inc ecx
add edx, 8
cmp ecx, 4
jl 0x4b4807
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x288]
mov edx, dword [edi + 0x28c]
mov dword [esp + 0x2c], ecx
fld qword [edi + eax*8 + 0x2b8]
mov dword [esp + 0x30], edx
fstp qword [esp + 0x4c]
fld qword [esp + 0x2c]
fsub qword [esp + 0x4c]
fstp qword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
push 0x4fefcc
push ebx
call esi
add esp, 0x20
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov esi, dword [ebp + 8]
add esp, 4
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x48], 1
mov byte [esp + 0x340], 0x2c
lea ecx, [esp + 0x1ec]
call fcn.004ce042
lea ecx, [esp + 0x13c]
mov byte [esp + 0x340], 5
call fcn.004ce09c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x340], 4
call fcn.004ce042
lea ecx, [esp + 0x34]
mov byte [esp + 0x340], 3
call fcn.004ce042
lea ecx, [esp + 0x40]
mov byte [esp + 0x340], 2
call fcn.004ce042
lea ecx, [esp + 0x44]
mov byte [esp + 0x340], 1
call fcn.004ce042
lea ecx, [esp + 0x38]
mov byte [esp + 0x340], 0
call fcn.004ce042
mov ecx, dword [esp + 0x338]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4