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

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
imul ebx, ebx, 0x1b4
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + ecx + 4]
add ebx, ecx
test ah, 0x40
push esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x24], ebx
je 0x4de953
mov ecx, dword [ebp + 0x34]
jmp 0x4de959
mov ecx, dword [ebx + 0xa4]
lea esi, [ebx + 0x28]
mov eax, esi
mov edx, dword [eax]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x16c]
test eax, eax
push edi
lea edi, [ecx + 0x30]
je 0x4de98e
lea ecx, [esp + 0x10]
push 0
push ecx
call eax
add esp, 8
jmp 0x4de9f5
mov eax, dword [ecx + 0x164]
test eax, eax
jne 0x4de9b4
add ecx, 0x108
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x18], ecx
jmp 0x4de9be
lea edx, [esp + 0x10]
push edx
call fcn.004d2520
lea eax, [esp + 0x2c]
push eax
lea ecx, [ebx + 0x80]
push ecx
mov ecx, edi
call fcn.00529bc0
fld dword [esp + 0x2c]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x30]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x34]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x10]
lea edx, [ebx + 0x54]
mov dword [edx], eax
mov ecx, dword [esp + 0x14]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x18]
mov dword [edx + 8], eax
mov eax, dword [ebx + 4]
test eax, 0x2000000
jne 0x4dea4a
test al, 4
je 0x4dea2e
push 1
lea ecx, [esp + 0x40]
push ecx
push esi
mov ecx, ebp
call fcn.004de080
jmp 0x4defaf
test al, 0x10
je 0x4defaf
push 1
lea edx, [esp + 0x40]
push edx
push esi
mov ecx, ebp
call fcn.004de330
jmp 0x4defaf
mov eax, dword [ebx + 0x38]
xor edi, edi
test eax, eax
mov dword [esp + 0x48], 0x64078678
mov dword [esp + 0x24], edi
jle 0x4dee6a
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x24]
mov esi, dword [eax + ecx*4]
mov ecx, dword [0x6800f0]
push esi
call fcn.004d9790
mov ecx, dword [0x6800f0]
push esi
mov ebx, eax
call fcn.004d98b0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4dee4c
cmp edi, 8
jge 0x4dee4c
mov ecx, dword [0x6800f0]
push ebp
mov esi, ebx
call fcn.004d9790
mov ecx, dword [0x6800f0]
push ebp
mov ebx, eax
call fcn.004d98b0
fld dword [ebx]
fsub dword [esi]
mov edx, dword [esp + 0x28]
mov ebp, eax
fstp dword [esp + 0x4c]
fld dword [ebx + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x50]
fld dword [ebx + 8]
fsub dword [esi + 8]
fld dword [esi]
fsub dword [esp + 0x10]
fld dword [esi + 4]
fsub dword [esp + 0x14]
fld dword [esi + 8]
fsub dword [esp + 0x18]
fld st(3)
fmul st(4)
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
faddp st(1)
fstp dword [esp + 0x20]
fmul st(3)
fxch st(1)
fmul dword [esp + 0x50]
faddp st(1)
fxch st(1)
fmul dword [esp + 0x4c]
faddp st(1)
fadd st(0), st(0)
fstp dword [esp + 0x38]
fld dword [esi + 8]
fld dword [esi + 4]
fld dword [esi]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld st(4)
fmul st(5)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esi]
fld dword [esp + 0x18]
fmul dword [esi + 8]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esi + 4]
faddp st(1)
fadd st(0), st(0)
fsubp st(1)
fsub dword [edx + 0x40]
fmul dword [esp + 0x20]
fmul dword [0x5da6c8]
fsubp st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [0x5da2f8]
fdiv dword [esp + 0x20]
fld dword [esp + 0x1c]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x4dec24
fld dword [esp + 0x38]
lea eax, [edi + edi*2]
fmul st(1)
lea ecx, [esp + eax*4 + 0xbc]
fchs
fld dword [esp + 0x4c]
fmul st(1)
fld dword [esp + 0x50]
fmul st(2)
fstp dword [esp + 0x90]
fld st(3)
fmul st(2)
fstp dword [esp + 0x94]
fadd dword [esi]
fstp dword [esp + 0x80]
mov edx, dword [esp + 0x80]
mov dword [ecx], edx
fstp st(0)
fld dword [esp + 0x90]
fadd dword [esi + 4]
fstp dword [esp + 0x84]
fld dword [esp + 0x94]
mov eax, dword [esp + 0x84]
fadd dword [esi + 8]
fstp dword [esp + 0x88]
mov edx, dword [esp + 0x88]
jmp 0x4ded4f
fld dword [esp + 0x1c]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x41
jne 0x4ded56
fld dword [esp + 0x1c]
fsqrt
fld dword [esp + 0x38]
fsubr st(1)
fmul st(2)
fstp dword [esp + 0x20]
fld dword [esp + 0x38]
fchs
fsub st(1)
fmul st(2)
fstp dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0x20]
fcomp dword [0x60477c]
fnstsw ax
test ah, 1
jne 0x4decd6
fld dword [esp + 0x20]
fcomp dword [0x5f53f4]
fnstsw ax
test ah, 0x41
jp 0x4decd6
fld dword [esp + 0x4c]
lea eax, [edi + edi*2]
fmul dword [esp + 0x20]
lea ecx, [esp + eax*4 + 0xbc]
fld dword [esp + 0x50]
inc edi
fmul dword [esp + 0x20]
fld st(3)
fmul dword [esp + 0x20]
fstp dword [esp + 0xb8]
fxch st(1)
fadd dword [esi]
fstp dword [esp + 0x74]
mov edx, dword [esp + 0x74]
mov dword [ecx], edx
fadd dword [esi + 4]
fstp dword [esp + 0x78]
fld dword [esp + 0xb8]
mov eax, dword [esp + 0x78]
fadd dword [esi + 8]
mov dword [ecx + 4], eax
fstp dword [esp + 0x7c]
mov edx, dword [esp + 0x7c]
mov dword [ecx + 8], edx
fld dword [esp + 0x1c]
fcomp dword [0x60477c]
fnstsw ax
test ah, 1
jne 0x4ded56
fld dword [esp + 0x1c]
fcomp dword [0x5f53f4]
fnstsw ax
test ah, 0x41
jp 0x4ded56
cmp edi, 8
jge 0x4ded56
fld dword [esp + 0x4c]
lea eax, [edi + edi*2]
fmul dword [esp + 0x1c]
lea ecx, [esp + eax*4 + 0xbc]
fld dword [esp + 0x50]
fmul dword [esp + 0x1c]
fld st(3)
fmul dword [esp + 0x1c]
fstp dword [esp + 0xa0]
fxch st(1)
fadd dword [esi]
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [ecx], edx
fadd dword [esi + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0xa0]
mov eax, dword [esp + 0x30]
fadd dword [esi + 8]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
inc edi
test edi, edi
jne 0x4dee3f
fmul dword [esp + 0x38]
fmul dword [0x5db050]
fcom dword [0x5f53f4]
fnstsw ax
test ah, 0x41
jne 0x4ded7f
fstp st(0)
fld dword [0x5f53f4]
jmp 0x4ded94
fcom dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x4ded94
fstp st(0)
fld dword [0x60477c]
fld dword [esp + 0x4c]
fmul st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x50]
fmul st(1)
fstp dword [esp + 0x6c]
fxch st(1)
fmul st(1)
fxch st(1)
fstp st(0)
fld dword [esp + 0x68]
fadd dword [esi]
fstp dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
fld dword [esp + 0x6c]
mov dword [esp + 0xc8], ecx
fadd dword [esi + 4]
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
fadd dword [esi + 8]
mov dword [esp + 0xcc], edx
fstp dword [esp + 0x64]
fld dword [esp + 0x5c]
mov esi, dword [esp + 0x64]
fsub dword [esp + 0x10]
mov dword [esp + 0xd0], esi
fld dword [esp + 0x60]
fsub dword [esp + 0x14]
fld dword [esp + 0x64]
fsub dword [esp + 0x18]
fld st(2)
fmulp st(3)
fld st(0)
fmul st(1)
faddp st(3)
fld st(1)
fmul st(2)
faddp st(3)
fstp st(0)
fstp st(0)
fcom dword [esp + 0x48]
fnstsw ax
test ah, 5
jp 0x4dee41
fstp dword [esp + 0x48]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], esi
jmp 0x4dee43
fstp st(0)
fstp st(0)
cmp ebp, 0xffffffff
jne 0x4dea92
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x38]
inc eax
cmp eax, edx
mov dword [esp + 0x24], eax
mov ebx, ecx
jl 0x4dea63
mov ebp, dword [esp + 0x58]
mov eax, edi
sub eax, 0
je 0x4def6b
dec eax
je 0x4def6b
mov ecx, dword [ebp + 0x34]
mov eax, dword [ecx + 0x164]
test eax, eax
jne 0x4deea5
add ecx, 0x114
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x34], ecx
jmp 0x4deeaf
lea edx, [esp + 0x2c]
push edx
call fcn.004d2560
test edi, edi
mov dword [esp + 0x24], 0x43b40000
jle 0x4def8c
xor ebp, ebp
xor esi, esi
fld dword [esp + 0x10]
lea eax, [esp + 0x98]
fsub dword [esp + esi + 0xbc]
push eax
lea ecx, [esp + 0x6c]
push ecx
fstp dword [esp + 0x70]
fld dword [esp + 0x1c]
fsub dword [esp + esi + 0xc8]
fstp dword [esp + 0x74]
fld dword [esp + 0x20]
fsub dword [esp + esi + 0xcc]
fstp dword [esp + 0x78]
call fcn.004bf190
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0xa4]
push edx
push eax
call fcn.004bd6d0
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
and ecx, 0x7fffffff
mov dword [esp + 0x58], ecx
fld dword [esp + 0x58]
add esp, 0x10
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 5
jp 0x4def40
mov edx, ecx
mov ebp, esi
mov dword [esp + 0x24], edx
lea eax, [esp + ebp + 0xbc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
add esi, 0xc
dec edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jne 0x4deec3
mov ebp, dword [esp + 0x58]
jmp 0x4def8c
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [ebp + 0x5c]
push edx
mov ecx, ebp
call fcn.004dd470
lea eax, [esp + 0x10]
push eax
lea ecx, [ebp + 0x19c]
push ecx
mov ecx, ebp
call fcn.004dd470
mov eax, dword [ebx + 4]
test ah, 8
mov edi, dword [esp + 0x120]
je 0x4defcb
push edi
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
call fcn.004ddd30
test byte [ebx + 4], 0x40
je 0x4defde
push edi
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call fcn.004dda90
mov eax, dword [ebx + 4]
test ah, 4
je 0x4defee
push edi
mov ecx, ebp
call fcn.004ddc60
fld dword [ebx + 0x28]
lea esi, [ebx + 0x28]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x44
jp 0x4df01b
fld dword [esi + 4]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x44
jp 0x4df01b
fld dword [esi + 8]
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 0x44
jnp 0x4df06c
fld dword [esp + 0x3c]
push edi
fsub dword [esi]
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
fld dword [esp + 0x44]
fsub dword [esi + 4]
fstp dword [esp + 0x34]
fld dword [esp + 0x48]
mov edx, dword [esp + 0x34]
fsub dword [esi + 8]
mov dword [esp + 0xa8], ecx
lea ecx, [esp + 0xa8]
push ecx
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov ecx, ebp
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], eax
call fcn.004dde50
fld dword [esp + 0x10]
pop edi
fsub dword [esi]
fld dword [esp + 0x10]
fsub dword [esi + 4]
fld dword [esp + 0x14]
fsub dword [esi + 8]
fld st(2)
fmul st(3)
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fcomp dword [0x5da70c]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jne 0x4df0b6
add ebx, 0x10
push ebx
lea edx, [esp + 0x10]
push esi
push edx
call fcn.004bf040
add esp, 0xc
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4