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

Disassembly:
sub esp, 0xb0
fld dword [esp + 0xb4]
push ebx
push ebp
mov ebp, ecx
fcomp dword [ebp]
push esi
push edi
mov dword [esp + 0x58], ebp
mov byte [esp + 0x1b], 0
fnstsw ax
test ah, 5
jp 0x4df1f9
mov esi, dword [ebp + 0x18]
xor edi, edi
xor ecx, ecx
cmp esi, edi
jle 0x4df16c
lea edx, [ebp + 0x20]
fld dword [edx]
fcomp dword [esp + 0xc4]
fnstsw ax
test ah, 0x41
jne 0x4df164
fld dword [edx]
fcomp dword [ebp]
fnstsw ax
test ah, 0x41
jnp 0x4df16c
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x4df148
cmp ecx, esi
jne 0x4df187
mov eax, dword [esp + 0xc4]
pop edi
pop esi
mov dword [ebp], eax
pop ebp
pop ebx
add esp, 0xb0
ret 8
cmp dword [ebp + 8], edi
mov dword [esp + 0x14], edi
jle 0x4df1f0
mov dword [esp + 0x10], edi
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + ecx + 4]
add edx, ecx
xor esi, esi
test eax, eax
jle 0x4df1d5
xor edi, edi
lea esp, [esp]
mov eax, dword [edx + 8]
mov ebx, dword [eax + edi + 4]
mov ecx, dword [eax + edi]
add eax, edi
mov dword [ecx], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 4], ebx
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [edx + 4]
inc esi
add edi, 0x40
cmp esi, eax
jl 0x4df1b0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x4df194
xor eax, eax
mov byte [esp + 0x1b], 1
jmp 0x4df227
mov eax, dword [esp + 0xc8]
cmp eax, 0xffffffff
jne 0x4df227
mov esi, dword [ebp + 0x18]
xor ecx, ecx
test esi, esi
jle 0x4df225
lea edx, [ebp + 0x20]
fld dword [edx]
fcomp dword [ebp]
fnstsw ax
test ah, 0x41
je 0x4df225
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x4df211
mov eax, ecx
mov ecx, dword [esp + 0xc4]
mov dword [ebp], ecx
cmp eax, dword [ebp + 0x18]
mov dword [esp + 0x38], eax
jge 0x4df7fc
lea edx, [eax + eax*8]
lea ecx, [ebp + edx*4 + 0x38]
mov dword [esp + 0x30], ecx
lea esp, [esp]
fld dword [ecx - 0x18]
fcomp dword [esp + 0xc4]
fnstsw ax
test ah, 0x41
je 0x4df7e1
mov eax, dword [ecx - 0x1c]
xor esi, esi
sub eax, esi
mov byte [esp + 0x1b], 1
je 0x4df3e6
dec eax
je 0x4df2f9
dec eax
jne 0x4df7dd
cmp dword [ebp + 8], esi
mov dword [esp + 0x14], esi
jle 0x4df7dd
mov dword [esp + 0x10], esi
jmp 0x4df296
xor esi, esi
mov edx, dword [ebp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, dword [edx + edi + 4]
add edx, edi
cmp eax, esi
jle 0x4df2d9
xor edi, edi
lea esp, [esp]
mov eax, dword [edx + 8]
mov ebx, dword [eax + edi + 4]
mov ecx, dword [eax + edi]
add eax, edi
mov dword [ecx], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 4], ebx
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [edx + 4]
inc esi
add edi, 0x40
cmp esi, eax
jl 0x4df2b0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edx, dword [ebp + 8]
inc eax
add esi, 0xc
cmp eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
jl 0x4df294
jmp 0x4df7e1
cmp dword [ebp + 8], esi
mov dword [esp + 0x14], esi
jle 0x4df7dd
mov dword [esp + 0x10], esi
lea ebx, [ebx]
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + ecx + 4]
add esi, ecx
xor ebx, ebx
test eax, eax
jle 0x4df3c2
xor edi, edi
lea esp, [esp]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + edi]
fld dword [edx]
add ecx, edi
fsub dword [ecx + 4]
fstp dword [esp + 0x4c]
fld dword [edx + 4]
fsub dword [ecx + 8]
fld dword [edx + 8]
fsub dword [ecx + 0xc]
fst dword [esp + 0x54]
fmul dword [esp + 0x54]
fld st(1)
fmul st(2)
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
faddp st(1)
fcom dword [0x5ad148]
fnstsw ax
test ah, 0x41
jne 0x4df3af
fsqrt
fdivr dword [0x59ef78]
fld dword [esp + 0x4c]
fmul st(1)
fld st(1)
fmul st(3)
fstp dword [esp + 0x50]
fxch st(1)
fmul dword [esp + 0x54]
fstp dword [esp + 0x54]
fadd dword [ecx + 4]
fstp dword [edx]
fstp st(0)
fld dword [esp + 0x50]
fadd dword [ecx + 8]
fstp dword [edx + 4]
fld dword [esp + 0x54]
fadd dword [ecx + 0xc]
fstp dword [edx + 8]
jmp 0x4df3b3
fstp st(0)
fstp st(0)
mov eax, dword [esi + 4]
inc ebx
add edi, 0x40
cmp ebx, eax
jl 0x4df330
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x4df310
jmp 0x4df7dd
fld dword [ecx + 4]
lea edx, [ecx - 0x14]
fadd dword [0x5ad144]
mov eax, dword [edx]
mov dword [esp + 0x6c], eax
fld st(0)
mov eax, dword [edx + 4]
fmul st(1)
mov edx, dword [edx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [ecx - 8]
fstp dword [esp + 0x14]
mov dword [esp + 0x78], eax
fld dword [0x59e43c]
mov eax, dword [ecx]
fdiv st(1)
mov dword [esp + 0x80], eax
cmp dword [ebp + 8], esi
mov dword [esp + 0x74], edx
mov edx, dword [ecx - 4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x2c], esi
fstp dword [esp + 0x1c]
fstp st(0)
jle 0x4df574
mov dword [esp + 0x10], 0
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + ecx + 4]
add esi, ecx
xor ebx, ebx
test eax, eax
jle 0x4df555
xor edi, edi
mov edx, dword [esi + 8]
mov ecx, dword [edx + edi]
fld dword [ecx]
add edx, edi
fsub dword [esp + 0x6c]
fld dword [ecx + 4]
fsub dword [esp + 0x70]
fld dword [ecx + 8]
fsub dword [esp + 0x74]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fcom dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x4df544
fsqrt
fmul dword [esp + 0x1c]
fsubr dword [0x59e43c]
fld dword [esp + 0x78]
fmul st(1)
fadd dword [ecx]
fst dword [ecx]
fld dword [esp + 0x7c]
fmul st(2)
fadd dword [ecx + 4]
fst dword [esp + 0x68]
fstp dword [ecx + 4]
fld dword [esp + 0x80]
fmul st(2)
fadd dword [ecx + 8]
fst dword [esp + 0x3c]
fstp dword [ecx + 8]
fsub dword [edx + 4]
fstp st(1)
fld dword [esp + 0x68]
fsub dword [edx + 8]
fstp dword [esp + 0x88]
fld dword [esp + 0x3c]
fsub dword [edx + 0xc]
fld st(0)
fmul st(1)
fld dword [esp + 0x88]
fmul dword [esp + 0x88]
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fcom dword [edx + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4df540
fdivr dword [edx + 0x10]
fsqrt
fld st(0)
fmul st(3)
fadd dword [edx + 4]
fstp dword [ecx]
fld dword [esp + 0x88]
fmul st(1)
fadd dword [edx + 8]
fstp dword [ecx + 4]
fmul st(1)
fadd dword [edx + 0xc]
fstp dword [ecx + 8]
jmp 0x4df542
fstp st(0)
fstp st(0)
mov eax, dword [esi + 4]
fstp st(0)
inc ebx
add edi, 0x40
cmp ebx, eax
jl 0x4df461
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], edx
jl 0x4df448
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x2c], 0
jle 0x4df7dd
mov dword [esp + 0x14], 0
nop
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx + 0x10]
add ecx, edx
xor ebx, ebx
test eax, eax
jle 0x4df7be
mov edx, dword [ecx + 0x14]
mov esi, dword [edx + ebx*4]
mov edx, dword [esi]
fld dword [edx]
lea edi, [esi + 4]
fcomp dword [edi]
fnstsw ax
test ah, 0x44
jp 0x4df5db
fld dword [edx + 4]
fcomp dword [esi + 8]
fnstsw ax
test ah, 0x44
jp 0x4df5db
fld dword [edx + 8]
fcomp dword [esi + 0xc]
fnstsw ax
test ah, 0x44
jnp 0x4df7b2
fld dword [edx]
fsub dword [ecx]
fld dword [edx + 4]
fsub dword [ecx + 4]
fld dword [edx + 8]
fsub dword [ecx + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fcom dword [0x59e440]
fnstsw ax
test ah, 0x41
jne 0x4df7b0
fcomp dword [ecx + 0xc]
fnstsw ax
test ah, 5
jp 0x4df7b2
mov eax, dword [edi]
fld dword [edx]
mov dword [esp + 0x40], eax
fsub dword [esp + 0x40]
mov eax, dword [edi + 4]
mov dword [esp + 0x44], eax
fstp dword [esp + 0x20]
mov eax, dword [edi + 8]
fld dword [edx + 4]
mov dword [esp + 0x48], eax
fsub dword [esp + 0x44]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x34], eax
fstp dword [esp + 0x24]
fld dword [edx + 8]
fsub dword [esp + 0x48]
fstp dword [esp + 0x28]
fld dword [esp + 0x40]
fsub dword [ecx]
fst dword [esp + 0x90]
fld dword [esp + 0x44]
fsub dword [ecx + 4]
fld st(0)
fld dword [esp + 0x48]
fsub dword [ecx + 8]
fst dword [esp + 0x3c]
fld dword [esp + 0x90]
fmul dword [esp + 0x90]
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fcom dword [esp + 0x34]
fnstsw ax
test ah, 5
jp 0x4df6ab
fstp dword [esp + 0x34]
jmp 0x4df6ad
fstp st(0)
fxch st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x3c]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x28]
fmul st(1)
fld st(2)
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x20]
faddp st(1)
fadd st(0), st(0)
fstp dword [esp + 0x10]
fld dword [esp + 0x1c]
fcomp dword [0x59e440]
fnstsw ax
test ah, 0x44
jnp 0x4df7ae
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x5c]
faddp st(1)
fsub dword [esp + 0x34]
fmul dword [esp + 0x1c]
fmul dword [0x59e46c]
fsubp st(1)
fstp st(2)
fstp st(0)
fcom dword [0x59e440]
fnstsw ax
test ah, 1
jne 0x4df7b0
fsqrt
fld dword [esp + 0x1c]
fadd st(0), st(0)
fdivr dword [0x59e670]
fld st(1)
fadd dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fsubrp st(2)
fxch st(1)
fmulp st(1)
fld dword [esp + 0x1c]
fabs
fld st(1)
fabs
fxch st(1)
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4df788
fstp st(0)
fld dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul st(1)
fadd dword [esp + 0x40]
fstp dword [edx]
fld dword [esp + 0x24]
fmul st(1)
fadd dword [esp + 0x44]
fstp dword [edx + 4]
fmul dword [esp + 0x28]
fadd dword [esp + 0x48]
fstp dword [edx + 8]
jmp 0x4df7b2
fstp st(0)
fstp st(0)
mov eax, dword [ecx + 0x10]
inc ebx
cmp ebx, eax
jl 0x4df5a7
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
inc eax
add edx, 0x18
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], edx
jl 0x4df590
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov edx, dword [ebp + 0x18]
inc eax
add ecx, 0x24
cmp eax, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
jl 0x4df250
mov al, byte [esp + 0x1b]
test al, al
je 0x4dfa42
mov eax, dword [ebp + 8]
xor ebx, ebx
xor edx, edx
cmp eax, ebx
jle 0x4df83d
xor eax, eax
mov edi, 0xfeffffdf
mov esi, 0x400000
nop
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + eax]
and dword [ecx + 0x14], edi
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + eax]
or dword [ecx + 0x14], esi
mov ecx, dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, ecx
jl 0x4df820
cmp dword [ebp + 8], ebx
mov dword [esp + 0x2c], ebx
jle 0x4dfa42
mov dword [esp + 0x34], ebx
jmp 0x4df854
mov ebp, dword [esp + 0x58]
mov ebp, dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
mov eax, dword [ebp + ecx + 4]
add ebp, ecx
test eax, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x10], 0
jle 0x4dfa1f
mov dword [esp + 0x1c], 0
lea ecx, [ecx]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 8]
mov ebp, dword [ecx + eax]
fld dword [ebp]
add ecx, eax
fcomp dword [ecx + 4]
fnstsw ax
test ah, 0x44
jp 0x4df8d4
fld dword [ebp + 4]
fcomp dword [ecx + 8]
fnstsw ax
test ah, 0x44
jp 0x4df8d4
fld dword [ebp + 8]
fcomp dword [ecx + 0xc]
fnstsw ax
test ah, 0x44
jp 0x4df8d4
mov eax, dword [ecx + 0x20]
mov dword [ebp + 0x18], eax
mov edx, dword [ecx + 0x14]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + 0x18]
mov dword [ebp + 0x10], eax
mov ecx, dword [ecx + 0x1c]
mov dword [ebp + 0x14], ecx
jmp 0x4df9fc
add ecx, 0x24
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [ebp + 0x18], 0xa0a0a0
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov ebx, dword [edx]
test ebx, ebx
je 0x4df9a4
xor edi, edi
lea esi, [esp + 0xa4]
lea esp, [esp]
mov edx, edi
mov ecx, ebx
call fcn.004de5d0
fld dword [eax]
fstp dword [esi - 8]
fld dword [eax + 4]
inc edi
fstp dword [esi - 4]
fld dword [eax + 8]
add esi, 0xc
cmp edi, 3
fstp dword [esi - 0xc]
jl 0x4df920
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0xb0]
lea ecx, [esp + 0xa4]
call fcn.004dd9f0
fld dword [esp + 0x5c]
fadd dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
inc eax
fstp dword [esp + 0x20]
add edx, 4
cmp eax, 7
fld dword [esp + 0x60]
fadd dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], edx
fstp dword [esp + 0x24]
fld dword [esp + 0x64]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
jl 0x4df902
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fsqrt
fcom qword [0x59e430]
fnstsw ax
test ah, 0x41
jne 0x4df9fa
fdivr dword [0x59e43c]
fld dword [esp + 0x20]
fmul st(1)
fld st(1)
fmul dword [esp + 0x24]
fxch st(2)
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov dword [ebp + 0x14], edx
fstp dword [ebp + 0xc]
fstp dword [ebp + 0x10]
jmp 0x4df9fc
fstp st(0)
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
inc eax
add esi, 0x40
cmp eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], esi
jl 0x4df880
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add edx, 0xc
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x58]
mov ecx, dword [edx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x4df850
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 8