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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x674f0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x374
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.0065e79e
movsx ecx, byte [esi + 0x79]
mov eax, dword [esi + 0x98]
xor ebx, ebx
sub ecx, ebx
mov dword [esp + 0x388], ebx
je 0x53820b
dec ecx
je 0x537f49
dec ecx
je 0x537901
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
jmp 0x5384a2
lea ecx, [esp + 0xa8]
call fcn.0064dc20
lea ecx, [esp + 0xd8]
call fcn.0064dc20
lea ecx, [esp + 0x168]
call fcn.004c7940
lea ecx, [esp + 0x2c8]
mov byte [esp + 0x388], 0x11
call fcn.004c7940
mov eax, dword [esi + 0x84]
xor edi, edi
dec eax
mov byte [esp + 0x388], 0x12
cmp eax, ebx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x2c], eax
jle 0x537b1e
push edi
lea ecx, [esi + 0x7c]
call fcn.00472c20
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0064dc70
lea ecx, [esp + 0x180]
call fcn.004d43c0
lea eax, [edi + 1]
lea ecx, [esi + 0x7c]
push eax
mov dword [esp + 0x18], eax
call fcn.00472c20
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0064dc70
lea ecx, [esp + 0x180]
call fcn.004c7af0
lea eax, [esp + 0x9c]
lea edx, [ebp + 0xc]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0064dc70
lea eax, [esp + 0x2b4]
lea ecx, [esp + 0x184]
push eax
call fcn.004c7ca0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
fld qword [esp + 0x9c]
fcomp qword [0x691ac0]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
fnstsw ax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
test ah, 1
jne 0x537aea
fld qword [esp + 0x9c]
fcomp qword [0x695748]
fnstsw ax
test ah, 0x41
jne 0x537afc
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp edi, eax
jl 0x537a0a
jmp 0x537b1e
lea eax, [esp + 0x220]
lea ecx, [esp + 0x168]
push eax
call fcn.004c8750
push eax
lea ecx, [esp + 0x3c]
call fcn.006578b0
cmp edi, ebx
jge 0x537b5e
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x2c8]
mov byte [esp + 0x388], 0x11
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
call fcn.004c7ac0
lea ecx, [esp + 0x168]
mov byte [esp + 0x388], bl
call fcn.004c7ac0
jmp 0x5384ae
mov eax, dword [esi + 0x98]
xor edi, edi
dec eax
cmp eax, ebx
mov dword [esp + 0x2c], eax
jle 0x537c70
lea ecx, [esi + 0x90]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x20]
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x2c], esp
push edx
push edi
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ac900
lea ecx, [esp + 0x2e0]
call fcn.004d43c0
sub esp, 0x18
lea eax, [edi + 1]
mov ecx, esp
mov dword [esp + 0x3c], esp
push ecx
mov ecx, dword [esp + 0x3c]
push eax
mov dword [esp + 0x34], eax
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ac900
lea ecx, [esp + 0x2e0]
call fcn.004c7af0
lea edx, [esp + 0x64]
lea eax, [ebp + 0xc]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0064dc70
lea ecx, [esp + 0x26c]
push ecx
lea ecx, [esp + 0x2e8]
call fcn.004c7ca0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
fld qword [esp + 0x64]
fcomp qword [0x691ac0]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xec], eax
mov dword [esp + 0xe8], edx
fnstsw ax
test ah, 1
jne 0x537c5a
fld qword [esp + 0x64]
fcomp qword [0x695748]
fnstsw ax
test ah, 0x41
jne 0x537c6c
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp edi, eax
jl 0x537b7d
jmp 0x537c70
cmp edi, ebx
jge 0x537cb0
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x2c8]
mov byte [esp + 0x388], 0x11
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
call fcn.004c7ac0
lea ecx, [esp + 0x168]
mov byte [esp + 0x388], bl
call fcn.004c7ac0
jmp 0x5384ae
mov edx, dword [esi + 0x94]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [edx + edi*4]
call fcn.004acec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 0x13
call fcn.0065e80a
lea ecx, [esp + 0x5c]
mov byte [esp + 0x388], 0x12
call fcn.0065e798
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0065e816
mov ecx, dword [esp + 0x24]
push edi
mov byte [esp + 0x390], 0x12
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ad040
mov edx, dword [esi + 0x94]
inc edi
fstp qword [esp + 0x14]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [edx + edi*4]
call fcn.004acec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 0x15
call fcn.0065e80a
lea ecx, [esp + 0x7c]
mov byte [esp + 0x388], 0x12
call fcn.0065e798
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0065e816
mov ecx, dword [esp + 0x24]
push edi
mov byte [esp + 0x390], 0x12
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ad040
fsub qword [esp + 0x14]
lea ecx, [esp + 0x150]
mov dword [esp + 0x160], 0
push ecx
lea ecx, [esp + 0xc4]
fmul qword [esp + 0x68]
mov dword [esp + 0x168], 0
fadd qword [esp + 0x18]
fst qword [esp + 0x28]
fabs
fstp qword [esp + 0x18]
fld qword [ebp + 0x24]
fsub qword [esp + 0xac]
fstp qword [esp + 0x154]
fld qword [ebp + 0x2c]
fsub qword [esp + 0xb4]
fstp qword [esp + 0x15c]
call fcn.00657020
lea edx, [esp + 0x38]
lea eax, [esp + 0xc0]
push edx
push eax
call fcn.00657490
fld qword [esp + 0x2c]
fcomp qword [0x691ac0]
add esp, 8
fnstsw ax
fcomp qword [0x691ac0]
test ah, 0x41
fnstsw ax
jne 0x537e84
fld qword [esp + 0x38]
fmul qword [esp + 0x14]
test ah, 1
jne 0x537e4e
fchs
fstp qword [esp + 0x120]
fld qword [esp + 0x40]
fmul qword [esp + 0x14]
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
lea ecx, [esp + 0x120]
fchs
fstp qword [esp + 0x128]
jmp 0x537efe
fstp qword [esp + 0xf0]
fld qword [esp + 0x40]
fmul qword [esp + 0x14]
lea edx, [esp + 0xf0]
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
push edx
fstp qword [esp + 0xfc]
jmp 0x537eff
fld qword [esp + 0x38]
fmul qword [esp + 0x14]
test ah, 0x41
je 0x537ecb
fchs
fstp qword [esp + 0x108]
fld qword [esp + 0x40]
fmul qword [esp + 0x14]
lea eax, [esp + 0x108]
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
push eax
fchs
fstp qword [esp + 0x114]
jmp 0x537eff
fstp qword [esp + 0x138]
fld qword [esp + 0x40]
fmul qword [esp + 0x14]
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
lea ecx, [esp + 0x138]
fstp qword [esp + 0x140]
push ecx
lea ecx, [esp + 0x88]
call fcn.00657020
mov esi, dword [ebp + 8]
lea edx, [esp + 0x84]
push edx
mov ecx, esi
call fcn.00657020
lea ecx, [esp + 0x2c8]
mov byte [esp + 0x388], 0x11
call fcn.004c7ac0
lea ecx, [esp + 0x168]
mov byte [esp + 0x388], bl
call fcn.004c7ac0
jmp 0x5384ae
fld qword [0x691ac0]
xor edi, edi
dec eax
fst qword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x2c], eax
jle 0x5381f8
fstp st(0)
mov ecx, dword [esi + 0x94]
lea eax, [esp + 0x2b0]
push eax
mov ecx, dword [ecx + edi*4]
call fcn.004ac900
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x94]
lea ecx, [esp + 0x280]
mov dword [esp + 0x28], eax
push ecx
mov ecx, dword [edx + edi*4 + 4]
call fcn.004ac900
fld qword [eax]
fld qword [esp + 0x24]
fsub st(1)
fabs
fcomp qword [0x691f50]
fnstsw ax
test ah, 1
jne 0x537fed
fld qword [ebp + 0xc]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
jne 0x537fcf
fld qword [ebp + 0xc]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x538013
fld qword [ebp + 0xc]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x537fed
fld qword [ebp + 0xc]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x53810c
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
fstp st(0)
jl 0x537f64
fld qword [esp + 0x14]
fimul dword [ebp + 0x3c]
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
fstp qword [esi + 8]
jmp 0x5384a8
fld qword [ebp + 0xc]
fsub qword [esp + 0x24]
fxch st(1)
fsub qword [esp + 0x24]
mov ecx, dword [esi + 0x94]
lea eax, [esp + 0x74]
fdivp st(1)
mov ecx, dword [ecx + edi*4]
push eax
fstp qword [esp + 0x30]
call fcn.004acec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 9
call fcn.0065e80a
lea ecx, [esp + 0x74]
mov byte [esp + 0x388], bl
call fcn.0065e798
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0065e816
lea ecx, [esi + 0x90]
push edi
mov byte [esp + 0x390], bl
mov dword [esp + 0x28], ecx
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ad040
mov ecx, dword [esi + 0x94]
inc edi
fstp qword [esp + 0x14]
mov ecx, dword [ecx + edi*4]
lea eax, [esp + 0x58]
push eax
call fcn.004acec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 0xb
call fcn.0065e80a
lea ecx, [esp + 0x58]
mov byte [esp + 0x388], bl
call fcn.0065e798
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0065e816
mov ecx, dword [esp + 0x24]
push edi
mov byte [esp + 0x390], bl
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ad040
fsub qword [esp + 0x14]
mov esi, dword [ebp + 8]
fmul qword [esp + 0x2c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
fadd qword [esp + 0x14]
fimul dword [ebp + 0x3c]
fstp qword [esi + 8]
jmp 0x5384a8
fld qword [ebp + 0xc]
fsub st(1)
fld qword [esp + 0x24]
fsub st(2)
mov ecx, dword [esi + 0x94]
lea eax, [esp + 0x80]
fdivp st(1)
mov ecx, dword [ecx + edi*4]
push eax
fstp qword [esp + 0x30]
fstp st(0)
call fcn.004acec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 0xd
call fcn.0065e80a
lea ecx, [esp + 0x80]
mov byte [esp + 0x388], bl
call fcn.0065e798
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0065e816
lea ecx, [esi + 0x90]
push edi
mov byte [esp + 0x390], bl
mov dword [esp + 0x28], ecx
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ad040
mov ecx, dword [esi + 0x94]
inc edi
fstp qword [esp + 0x14]
mov ecx, dword [ecx + edi*4]
lea eax, [esp + 0x60]
push eax
call fcn.004acec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 0xf
call fcn.0065e80a
lea ecx, [esp + 0x60]
mov byte [esp + 0x388], bl
call fcn.0065e798
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0065e816
mov ecx, dword [esp + 0x24]
push edi
mov byte [esp + 0x390], bl
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ad040
fld qword [esp + 0x14]
fsub st(1)
fmul qword [esp + 0x2c]
faddp st(1)
fimul dword [ebp + 0x3c]
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
fstp qword [esi + 8]
jmp 0x5384a8
fld qword [0x691ac0]
xor edi, edi
dec eax
fst qword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x2c], eax
jle 0x53849a
fstp st(0)
mov ecx, dword [esi + 0x94]
lea eax, [esp + 0x238]
push eax
mov ecx, dword [ecx + edi*4]
call fcn.004ac900
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x94]
lea ecx, [esp + 0x268]
mov dword [esp + 0x28], eax
push ecx
mov ecx, dword [edx + edi*4 + 4]
call fcn.004ac900
fld qword [eax + 8]
fld qword [esp + 0x24]
fsub st(1)
fabs
fcomp qword [0x691f50]
fnstsw ax
test ah, 1
jne 0x5382b1
fld qword [ebp + 0x14]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
jne 0x538293
fld qword [ebp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5382c9
fld qword [ebp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x5382b1
fld qword [ebp + 0x14]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x5383b4
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
fstp st(0)
jl 0x538226
fld qword [esp + 0x14]
jmp 0x53849a
fld qword [ebp + 0x14]
fsub qword [esp + 0x24]
fxch st(1)
fsub qword [esp + 0x24]
mov ecx, dword [esi + 0x94]
lea eax, [esp + 0x78]
fdivp st(1)
mov ecx, dword [ecx + edi*4]
push eax
fstp qword [esp + 0x30]
call fcn.004acec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 1
call fcn.0065e80a
lea ecx, [esp + 0x78]
mov byte [esp + 0x388], bl
call fcn.0065e798
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0065e816
lea ecx, [esi + 0x90]
push edi
mov byte [esp + 0x390], bl
mov dword [esp + 0x28], ecx
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ad040
mov ecx, dword [esi + 0x94]
inc edi
fstp qword [esp + 0x14]
mov ecx, dword [ecx + edi*4]
lea eax, [esp + 0x70]
push eax
call fcn.004acec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 3
call fcn.0065e80a
lea ecx, [esp + 0x70]
mov byte [esp + 0x388], bl
call fcn.0065e798
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0065e816
mov ecx, dword [esp + 0x24]
push edi
mov byte [esp + 0x390], bl
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ad040
fsub qword [esp + 0x14]
fmul qword [esp + 0x2c]
fadd qword [esp + 0x14]
jmp 0x53849a
fld qword [ebp + 0x14]
fsub st(1)
fld qword [esp + 0x24]
fsub st(2)
mov ecx, dword [esi + 0x94]
lea eax, [esp + 0x50]
fdivp st(1)
mov ecx, dword [ecx + edi*4]
push eax
fstp qword [esp + 0x30]
fstp st(0)
call fcn.004acec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 5
call fcn.0065e80a
lea ecx, [esp + 0x50]
mov byte [esp + 0x388], bl
call fcn.0065e798
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0065e816
lea ecx, [esi + 0x90]
push edi
mov byte [esp + 0x390], bl
mov dword [esp + 0x28], ecx
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ad040
mov ecx, dword [esi + 0x94]
inc edi
fstp qword [esp + 0x14]
mov ecx, dword [ecx + edi*4]
lea eax, [esp + 0x54]
push eax
call fcn.004acec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], 7
call fcn.0065e80a
lea ecx, [esp + 0x54]
mov byte [esp + 0x388], bl
call fcn.0065e798
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0065e816
mov ecx, dword [esp + 0x24]
push edi
mov byte [esp + 0x390], bl
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ad040
fld qword [esp + 0x14]
fsub st(1)
fmul qword [esp + 0x2c]
faddp st(1)
fimul dword [ebp + 0x3c]
mov esi, dword [ebp + 8]
fstp qword [esi]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x388], 0xffffffff
call fcn.0065e798
mov ecx, dword [esp + 0x380]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x38