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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 8]
call fcn.00479c30
lea ecx, [ebp - 0x10]
call fcn.00479c30
mov eax, dword [ebp - 0x70]
fld dword [eax + 0x88]
fcomp dword [0x4fc4b8]
fnstsw ax
test ah, 1
jne 0x47915a
mov ecx, dword [ebp - 0x70]
fld dword [ebp + 8]
fadd dword [ecx + 0x88]
mov edx, dword [ebp - 0x70]
fstp dword [edx + 0x88]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x70]
fld dword [eax + 0x88]
fcomp dword [ecx + 8]
fnstsw ax
test ah, 1
jne 0x47915a
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x88], 0xc0000000
mov eax, dword [ebp - 0x70]
xor ecx, ecx
mov cl, byte [eax + 0xc0]
test ecx, ecx
je 0x479177
mov ecx, dword [ebp - 0x70]
add ecx, 0xac
call fcn.004736d0
mov edx, dword [ebp - 0x70]
add edx, 0xc4
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], 0
jmp 0x479195
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0xa8]
jge 0x479348
mov eax, dword [ebp - 0x14]
fld dword [ebp + 8]
fadd dword [eax + 0x4c]
mov ecx, dword [ebp - 0x14]
fstp dword [ecx + 0x4c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
fld dword [edx + 0x4c]
fcomp dword [eax + 0x50]
fnstsw ax
test ah, 1
jne 0x479211
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0xa8]
sub edx, 1
mov eax, dword [ebp - 0x70]
mov dword [eax + 0xa8], edx
push 0x54
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0xa8]
imul edx, edx, 0x54
mov eax, dword [ebp - 0x70]
lea ecx, [eax + edx + 0xc4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.004af750
add esp, 0xc
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x47918c
mov ecx, dword [ebp - 0x70]
add ecx, 0x98
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00479c60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
lea ecx, [ebp - 8]
call fcn.00479de0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 8]
call fcn.00479db0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
fld dword [ebp - 0xc]
fchs
fstp dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00479db0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 8]
call fcn.00479ce0
mov ecx, eax
call fcn.00479d30
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 8
call fcn.00479d70
mov eax, dword [ebp - 0x14]
fld dword [ebp + 8]
fmul dword [eax + 0x10]
mov ecx, dword [ebp - 0x14]
fadd dword [ecx + 0xc]
mov edx, dword [ebp - 0x14]
fstp dword [edx + 0xc]
mov eax, dword [ebp - 0x14]
add eax, 8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00479d70
mov ecx, dword [ebp - 0x14]
fld dword [ebp + 8]
fmul dword [ecx + 0x20]
mov edx, dword [ebp - 0x14]
fadd dword [edx + 0x1c]
mov eax, dword [ebp - 0x14]
fstp dword [eax + 0x1c]
mov ecx, dword [ebp - 0x14]
fld dword [ebp + 8]
fmul dword [ecx + 0x28]
mov edx, dword [ebp - 0x14]
fadd dword [edx + 0x24]
mov eax, dword [ebp - 0x14]
fstp dword [eax + 0x24]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.00479ea0
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call fcn.00479f50
mov eax, dword [ebp - 0x70]
xor ecx, ecx
mov cl, byte [eax + 0xc0]
test ecx, ecx
je 0x47933a
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x70]
add ecx, 0xac
call fcn.00474770
mov eax, dword [ebp - 0x14]
add eax, 0x54
mov dword [ebp - 0x14], eax
jmp 0x47918c
mov ecx, dword [ebp - 0x70]
fld dword [ecx + 0x88]
fcomp dword [0x4f68dc]
fnstsw ax
test ah, 0x40
jne 0x47985c
mov edx, dword [ebp - 0x70]
fild dword [edx + 4]
fmul dword [ebp + 8]
mov eax, dword [ebp - 0x70]
fadd dword [eax + 0x8c]
fst dword [ebp - 0x24]
fistp qword [ebp - 0x78]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x20], ecx
fild dword [ebp - 0x20]
fsubr dword [ebp - 0x24]
mov edx, dword [ebp - 0x70]
fstp dword [edx + 0x8c]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0xa8]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 0x70]
lea eax, [edx + ecx + 0xc4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
jmp 0x4793ba
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x20]
jge 0x47985c
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0xa8], 0x1f4
jl 0x4793da
jmp 0x47985c
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x4c], 0
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [0x520b18]
mov ecx, dword [eax]
mov edx, dword [0x520b18]
push edx
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x14]
fstp dword [eax + 0x50]
push 0x3f800000
push 0
mov ecx, dword [0x520b18]
mov edx, dword [ecx]
mov eax, dword [0x520b18]
push eax
call dword [edx + 0x88]
push ecx
fstp dword [esp]
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x70]
add edx, 0x90
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0x98
call fcn.00479c60
mov ecx, eax
call fcn.00479d30
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x70]
add ecx, 0x90
call fcn.00479ce0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], eax
push 0x40000000
push 0xc0000000
mov edx, dword [0x520b18]
mov eax, dword [edx]
mov ecx, dword [0x520b18]
push ecx
call dword [eax + 0x88]
mov edx, dword [ebp - 0x14]
fadd dword [edx]
mov eax, dword [ebp - 0x14]
fstp dword [eax]
push 0x40000000
push 0xc0000000
mov ecx, dword [0x520b18]
mov edx, dword [ecx]
mov eax, dword [0x520b18]
push eax
call dword [edx + 0x88]
mov ecx, dword [ebp - 0x14]
fadd dword [ecx + 4]
mov edx, dword [ebp - 0x14]
fstp dword [edx + 4]
mov eax, dword [ebp - 0x70]
fld dword [eax + 0x14]
fsub dword [0x4f68d8]
fstp dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x18]
push edx
push 0
mov eax, dword [0x520b18]
mov ecx, dword [eax]
mov edx, dword [0x520b18]
push edx
call dword [ecx + 0x88]
fadd dword [ebp - 0x7c]
mov eax, dword [ebp - 0x70]
fld dword [eax + 0x18]
fdiv dword [0x4f68d4]
fsubp st(1)
fstp dword [ebp - 0x18]
mov ecx, dword [ebp - 0x70]
xor edx, edx
mov dl, byte [ecx + 0x1c]
test edx, edx
je 0x479541
push 0
mov eax, dword [ebp - 0x70]
add eax, 0x98
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x70]
add ecx, 0x90
call fcn.00479c60
mov ecx, eax
call fcn.0047ac65
fadd dword [0x4f68d8]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
push edx
call fcn.00422010
add esp, 4
mov eax, dword [ebp - 0x14]
fstp dword [eax + 8]
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00422030
add esp, 4
mov edx, dword [ebp - 0x14]
fstp dword [edx + 0xc]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [0x520b18]
mov edx, dword [ecx]
mov eax, dword [0x520b18]
push eax
call dword [edx + 0x88]
push ecx
fstp dword [esp]
mov ecx, dword [ebp - 0x14]
add ecx, 8
call fcn.00479db0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x28]
push ecx
mov edx, dword [0x520b18]
mov eax, dword [edx]
mov ecx, dword [0x520b18]
push ecx
call dword [eax + 0x88]
mov edx, dword [ebp - 0x14]
fstp dword [edx + 0x10]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [0x520b18]
mov edx, dword [ecx]
mov eax, dword [0x520b18]
push eax
call dword [edx + 0x88]
mov ecx, dword [ebp - 0x14]
fstp dword [ecx + 0x14]
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [0x520b18]
mov ecx, dword [eax]
mov edx, dword [0x520b18]
push edx
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x14]
fstp dword [eax + 0x18]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x70]
fld dword [ecx + 0x44]
fsub dword [edx + 0x40]
mov eax, dword [ebp - 0x70]
fmul dword [eax + 0x48]
mov ecx, dword [ebp - 0x70]
fadd dword [ecx + 0x40]
push ecx
fstp dword [esp]
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x40]
push eax
mov ecx, dword [0x520b18]
mov edx, dword [ecx]
mov eax, dword [0x520b18]
push eax
call dword [edx + 0x88]
mov ecx, dword [ebp - 0x14]
fstp dword [ecx + 0x24]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x14]
fld dword [edx + 0x44]
fsub dword [eax + 0x24]
mov ecx, dword [ebp - 0x14]
fdiv dword [ecx + 0x50]
mov edx, dword [ebp - 0x14]
fstp dword [edx + 0x28]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x70]
fld dword [eax + 0x50]
fsub dword [ecx + 0x4c]
mov edx, dword [ebp - 0x70]
fmul dword [edx + 0x54]
mov eax, dword [ebp - 0x70]
fadd dword [eax + 0x4c]
push ecx
fstp dword [esp]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [0x520b18]
mov ecx, dword [eax]
mov edx, dword [0x520b18]
push edx
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x14]
fstp dword [eax + 0x1c]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x14]
fld dword [ecx + 0x50]
fsub dword [edx + 0x1c]
mov eax, dword [ebp - 0x14]
fdiv dword [eax + 0x50]
mov ecx, dword [ebp - 0x14]
fstp dword [ecx + 0x20]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
fld dword [edx + 0x68]
fsub dword [eax + 0x58]
mov ecx, dword [ebp - 0x70]
fmul dword [ecx + 0x78]
mov edx, dword [ebp - 0x70]
fadd dword [edx + 0x58]
push ecx
fstp dword [esp]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [0x520b18]
mov eax, dword [edx]
mov ecx, dword [0x520b18]
push ecx
call dword [eax + 0x88]
mov edx, dword [ebp - 0x14]
fstp dword [edx + 0x2c]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x70]
fld dword [eax + 0x6c]
fsub dword [ecx + 0x5c]
mov edx, dword [ebp - 0x70]
fmul dword [edx + 0x78]
mov eax, dword [ebp - 0x70]
fadd dword [eax + 0x5c]
push ecx
fstp dword [esp]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [0x520b18]
mov ecx, dword [eax]
mov edx, dword [0x520b18]
push edx
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x14]
fstp dword [eax + 0x30]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x70]
fld dword [ecx + 0x70]
fsub dword [edx + 0x60]
mov eax, dword [ebp - 0x70]
fmul dword [eax + 0x78]
mov ecx, dword [ebp - 0x70]
fadd dword [ecx + 0x60]
push ecx
fstp dword [esp]
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x60]
push eax
mov ecx, dword [0x520b18]
mov edx, dword [ecx]
mov eax, dword [0x520b18]
push eax
call dword [edx + 0x88]
mov ecx, dword [ebp - 0x14]
fstp dword [ecx + 0x34]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
fld dword [edx + 0x74]
fsub dword [eax + 0x64]
mov ecx, dword [ebp - 0x70]
fmul dword [ecx + 0x7c]
mov edx, dword [ebp - 0x70]
fadd dword [edx + 0x64]
push ecx
fstp dword [esp]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [0x520b18]
mov eax, dword [edx]
mov ecx, dword [0x520b18]
push ecx
call dword [eax + 0x88]
mov edx, dword [ebp - 0x14]
fstp dword [edx + 0x38]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x14]
fld dword [eax + 0x68]
fsub dword [ecx + 0x2c]
mov edx, dword [ebp - 0x14]
fdiv dword [edx + 0x50]
mov eax, dword [ebp - 0x14]
fstp dword [eax + 0x3c]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x14]
fld dword [ecx + 0x6c]
fsub dword [edx + 0x30]
mov eax, dword [ebp - 0x14]
fdiv dword [eax + 0x50]
mov ecx, dword [ebp - 0x14]
fstp dword [ecx + 0x40]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x14]
fld dword [edx + 0x70]
fsub dword [eax + 0x34]
mov ecx, dword [ebp - 0x14]
fdiv dword [ecx + 0x50]
mov edx, dword [ebp - 0x14]
fstp dword [edx + 0x44]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x14]
fld dword [eax + 0x74]
fsub dword [ecx + 0x38]
mov edx, dword [ebp - 0x14]
fdiv dword [edx + 0x50]
mov eax, dword [ebp - 0x14]
fstp dword [eax + 0x48]
mov ecx, dword [ebp - 0x70]
xor edx, edx
mov dl, byte [ecx + 0xc0]
test edx, edx
je 0x479839
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0xac
call fcn.00474770
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0xa8]
add edx, 1
mov eax, dword [ebp - 0x70]
mov dword [eax + 0xa8], edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x54
mov dword [ebp - 0x14], ecx
jmp 0x4793b1
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x98]
mov ecx, dword [edx + 0x9c]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0x90], eax
mov dword [edx + 0x94], ecx
mov esp, ebp
pop ebp
ret 4