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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66cca7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x108], 0
call fcn.0065e79e
lea ecx, [esp + 0x18]
mov byte [esp + 0x108], 1
call fcn.0065e79e
mov ebx, dword [ebp + 0x10]
mov byte [esp + 0x108], 2
mov ecx, ebx
call fcn.004be0b0
push eax
lea ecx, [esp + 0x6c]
call fcn.004d3c30
mov eax, dword [ebx]
lea ecx, [esp + 0xa0]
lea edx, [esp + 0xd0]
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x110], 3
call dword [eax + 0x60]
lea ecx, [esp + 0xd0]
call fcn.00456760
fld qword [esp + 0xb8]
fadd qword [esp + 0xa0]
mov esi, dword [ebp + 8]
mov edi, dword [0x821408]
push str.__0_n
push esi
fmul qword [0x691ac8]
fstp qword [esp + 0x24]
fld qword [esp + 0xb0]
fadd qword [0x695748]
fstp qword [esp + 0x3c]
call edi
add esp, 8
push str.ENDSEC_n
push esi
call edi
add esp, 8
push str.__0_n
push esi
call edi
add esp, 8
push str.SECTION_n
push esi
call edi
add esp, 8
push str.__2_n
push esi
call edi
add esp, 8
push str.ENTITIES_n
push esi
call edi
add esp, 8
lea ecx, [esp + 0x50]
call fcn.0064dc20
mov dword [esp + 0x28], 0
jmp 0x48105a
mov ebx, dword [ebp + 0x10]
mov eax, dword [esp + 0x28]
mov ecx, ebx
push eax
call fcn.004be450
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x3c], ebx
je 0x481218
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x48108a
mov ecx, ebx
call fcn.004a7720
test eax, eax
je 0x481218
mov ecx, ebx
call fcn.0049e800
xor ebx, ebx
mov dword [esp + 0x10], eax
test eax, eax
jle 0x481218
mov ecx, dword [esp + 0x3c]
push ebx
call fcn.0049e810
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.004da3a0
lea ecx, [esp + 0xd0]
mov dword [esp + 0x48], eax
push ecx
mov ecx, dword [esp + 0x34]
call fcn.004e1e10
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push str.__0_n
push esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call edi
add esp, 8
push str.INSERT_n
push esi
call edi
add esp, 8
push str.__8_n
push esi
call edi
add esp, 8
push 0x6dd890
push esi
call edi
add esp, 8
push str.__2_n
push esi
call edi
add esp, 8
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.005357b0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x10c], 4
lea ecx, [eax + 0x78]
call fcn.004d7390
push 0x2d
lea ecx, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x114], 5
call fcn.0065ecea
mov edx, dword [esp + 0x30]
mov byte [esp + 0x108], 6
push edx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0065ecf6
mov ecx, dword [eax]
push ecx
push 0x6dd418
push esi
call edi
add esp, 0xc
lea ecx, [esp + 0x4c]
call fcn.0065e798
lea ecx, [esp + 0x40]
mov byte [esp + 0x108], 5
call fcn.0065e798
lea ecx, [esp + 0x44]
mov byte [esp + 0x108], 4
call fcn.0065e798
lea ecx, [esp + 0x2c]
mov byte [esp + 0x108], 3
call fcn.0065e798
push str.__10_n
push esi
call edi
fld qword [esp + 0x58]
fmul qword [0x692698]
fstp qword [esp]
push 0x6dd7fc
push esi
call edi
add esp, 0x10
push str.__20_n
push esi
call edi
fld qword [esp + 0x60]
fmul qword [0x692698]
fstp qword [esp]
push 0x6dd7fc
push esi
call edi
mov eax, dword [esp + 0x20]
add esp, 0x10
inc ebx
cmp ebx, eax
jl 0x48109f
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 0x32
mov dword [esp + 0x28], eax
jl 0x481057
mov edx, dword [esp + 0x84]
mov eax, dword [edx - 8]
test eax, eax
je 0x48126f
lea eax, [esp + 0x84]
lea ecx, [esp + 0x10]
push eax
push 0x6dd7a0
push ecx
call fcn.0065ebb2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 7
call fcn.0065e80a
mov byte [esp + 0x108], 3
lea ecx, [esp + 0x10]
jmp 0x4812af
push str.ET2005
lea ecx, [esp + 0x1c]
call fcn.0065e7a4
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push 0x6dd7a0
push eax
call fcn.0065ebb2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 8
call fcn.0065e80a
mov byte [esp + 0x108], 3
lea ecx, [esp + 0x10]
call fcn.0065e798
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0x3ff00000
push 0
push edx
push eax
push ebx
push ecx
push 1
push esi
call fcn.00480970
add esp, 0x2c
lea edx, [esp + 0x8c]
lea eax, [esp + 0x10]
push edx
push 0x6dd764
push eax
call fcn.0065ebb2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 9
call fcn.0065e80a
lea ecx, [esp + 0x10]
mov byte [esp + 0x108], 3
call fcn.0065e798
fld qword [esp + 0x34]
fsub qword [0x691ad8]
lea ecx, [esp + 0xc]
mov edx, dword [esp + 0x1c]
push ecx
push 0
push 0
push 0x3ff00000
push 0
sub esp, 8
fstp qword [esp]
push ebx
push edx
push 1
push esi
call fcn.00480970
add esp, 0x2c
lea ecx, [esp + 0xc]
push str.Author:_ET2005
call fcn.0065e7a4
fld qword [esp + 0x34]
fsub qword [0x69db88]
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x1c]
push eax
push 0
push 0
push 0x3ff00000
push 0
sub esp, 8
fstp qword [esp]
push ebx
push ecx
push 1
push esi
call fcn.00480970
mov ecx, dword [ebp + 0x10]
add esp, 0x2c
lea edx, [esp + 0x10]
push edx
call fcn.004be4f0
mov ecx, eax
call fcn.005357b0
mov eax, dword [eax]
mov ecx, dword [eax - 8]
test ecx, ecx
setne byte [esp + 0x17]
lea ecx, [esp + 0x10]
call fcn.0065e798
mov al, byte [esp + 0x17]
test al, al
je 0x48141b
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004be4f0
mov ecx, eax
call fcn.005357b0
push eax
lea edx, [esp + 0x14]
push 0x6dd70c
push edx
mov byte [esp + 0x114], 0xa
call fcn.0065ebb2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 0xb
call fcn.0065e80a
lea ecx, [esp + 0x10]
mov byte [esp + 0x108], 0xa
call fcn.0065e798
mov byte [esp + 0x108], 3
lea ecx, [esp + 0x2c]
jmp 0x48145b
push 0x6d6e38
lea ecx, [esp + 0x1c]
call fcn.0065e7a4
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0x6dd70c
push ecx
call fcn.0065ebb2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 0xc
call fcn.0065e80a
mov byte [esp + 0x108], 3
lea ecx, [esp + 0x10]
call fcn.0065e798
fld qword [esp + 0x34]
fsub qword [0x69dd10]
lea edx, [esp + 0xc]
mov eax, dword [esp + 0x1c]
push edx
push 0
push 0
push 0x3ff00000
push 0
sub esp, 8
fstp qword [esp]
push ebx
push eax
push 1
push esi
call fcn.00480970
add esp, 0x2c
lea ecx, [ebp + 0xc]
lea edx, [esp + 0x10]
push ecx
push str.Grading_Rule_Table:
push edx
call fcn.0065ebb2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 0xd
call fcn.0065e80a
lea ecx, [esp + 0x10]
mov byte [esp + 0x108], 3
call fcn.0065e798
fld qword [esp + 0x34]
fsub qword [0x69db98]
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x1c]
push eax
push 0
push 0
push 0x3ff00000
push 0
sub esp, 8
fstp qword [esp]
push ebx
push ecx
push 1
push esi
call fcn.00480970
add esp, 0x2c
lea ecx, [esp + 0xc]
push str.Units:_METRIC
call fcn.0065e7a4
fld qword [esp + 0x34]
fsub qword [0x69dd08]
lea edx, [esp + 0xc]
mov eax, dword [esp + 0x1c]
push edx
push 0
push 0
push 0x3ff00000
push 0
sub esp, 8
fstp qword [esp]
push ebx
push eax
push 1
push esi
call fcn.00480970
add esp, 0x2c
push str.__0_n
push esi
call edi
add esp, 8
push str.ENDSEC_n
push esi
call edi
add esp, 8
push str.__0_n
push esi
call edi
add esp, 8
push str.EOF_n
push esi
call edi
add esp, 8
lea ecx, [esp + 0x68]
mov byte [esp + 0x108], 2
call fcn.004d3d00
lea ecx, [esp + 0x18]
mov byte [esp + 0x108], 1
call fcn.0065e798
lea ecx, [esp + 0xc]
mov byte [esp + 0x108], 0
call fcn.0065e798
lea ecx, [ebp + 0xc]
mov dword [esp + 0x108], 0xffffffff
call fcn.0065e798
mov ecx, dword [esp + 0x100]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret