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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc4
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
cmp dword [eax + 4], 1
mov dword [esp + 0x5c], edi
jl 0x5fe3f6
mov ecx, dword [edi + 0x44]
mov edx, dword [ebp + 8]
mov ebx, dword [edx + 4]
mov esi, dword [edi + 0x44]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x40], ecx
lea ecx, [edi + 0x40]
add esi, ebx
and eax, 0x7fffffff
cmp eax, esi
mov dword [esp + 0x30], ebx
jge 0x5fdd1b
add eax, eax
cmp esi, eax
jl 0x5fdd0f
mov eax, esi
push 0x10
push eax
push ecx
call fcn.0054d250
add esp, 0xc
mov dword [edi + 0x44], esi
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x5c]
mov edx, dword [edi + 0x68]
lea esi, [edi + 0x4c]
mov dword [esp + 0xc4], eax
mov eax, dword [esi + 8]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0xcc], edx
lea edx, [ecx + ebx*2]
and eax, 0x7fffffff
cmp eax, edx
mov dword [esp + 0xc], ecx
jge 0x5fdd6d
add eax, eax
cmp edx, eax
jl 0x5fdd5d
mov eax, edx
push 4
push eax
push esi
call fcn.0054d250
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea eax, [ecx + ebx*2]
mov dword [esi + 4], eax
mov eax, dword [esi]
lea ecx, [eax + ecx*4]
mov eax, dword [edi + 0x60]
lea esi, [edi + 0x58]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 4]
lea edx, [ecx + ebx*2]
and eax, 0x7fffffff
cmp eax, edx
mov dword [esp + 0xc], ecx
jge 0x5fddad
add eax, eax
cmp edx, eax
jl 0x5fdd9d
mov eax, edx
push 4
push eax
push esi
call fcn.0054d250
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esi]
lea eax, [ecx + ebx*2]
mov dword [esi + 4], eax
lea eax, [edx + ecx*4]
mov edx, dword [edi + 0x68]
lea esi, [edi + 0x64]
lea ecx, [edx + ebx*2]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 8]
and ecx, 0x7fffffff
cmp ecx, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], edx
jge 0x5fddfc
mov eax, dword [esp + 0xc]
add ecx, ecx
cmp eax, ecx
jl 0x5fdde8
mov ecx, eax
push 4
push ecx
push esi
call fcn.0054d250
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
add esp, 0xc
lea ecx, [edx + ebx*2]
mov dword [esi + 4], ecx
mov ecx, dword [esi]
lea edx, [ecx + edx*4]
mov dword [esp + 0x4c], edx
xor edx, edx
cmp ebx, edx
mov dword [esp + 0x3c], edx
jle 0x5fe26f
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
lea esi, [eax + 6]
sub eax, ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov edx, ecx
shl edx, 4
sub eax, ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x4c]
lea edx, [ebx + 4]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
fld dword [edi + 0x10]
mov ebx, dword [eax]
mov eax, dword [esp + 0xc]
fadd dword [ebx + eax]
add ebx, eax
fld dword [ebx + 4]
fadd dword [edi + 0x14]
fld dword [ebx + 8]
fadd dword [edi + 0x18]
fstp dword [esp + 0x28]
fld dword [ebx + 0xc]
fadd dword [edi + 0x1c]
fstp dword [esp + 0x2c]
fxch st(1)
fmul dword [edi + 0x30]
fstp dword [esp + 0x20]
fmul dword [edi + 0x34]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [edi + 0x38]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul dword [edi + 0x3c]
fld dword [esp + 0x20]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fdeb6
mov dword [esp + 0x20], 0x477ffc00
fld dword [esp + 0x24]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fdecf
mov dword [esp + 0x24], 0x477ffc00
fld dword [esp + 0x28]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fdee8
mov dword [esp + 0x28], 0x477ffc00
fcom dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fdefd
fstp st(0)
fld dword [0x671b78]
fld dword [esp + 0x20]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fdf16
mov dword [esp + 0x20], 0
fld dword [esp + 0x24]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fdf2f
mov dword [esp + 0x24], 0
fld dword [esp + 0x28]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fdf48
mov dword [esp + 0x28], 0
fcom dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fdf5d
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 0x20]
fadd dword [0x6542f8]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x24]
mov dword [esp + 0x70], eax
fadd dword [0x6542f8]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
fld dword [esp + 0x28]
mov dword [esp + 0x74], eax
fadd dword [0x6542f8]
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x78], eax
fadd dword [0x6542f8]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fld dword [edi + 0x20]
mov dword [esp + 0x7c], eax
fadd dword [ebx + 0x10]
mov eax, dword [esp + 0x70]
fld dword [ebx + 0x14]
shr eax, 7
fadd dword [edi + 0x24]
mov word [esp + 0x50], ax
fld dword [ebx + 0x18]
mov eax, dword [esp + 0x74]
fadd dword [edi + 0x28]
shr eax, 7
mov word [esp + 0x52], ax
mov eax, dword [esp + 0x78]
fstp dword [esp + 0x18]
shr eax, 7
fld dword [ebx + 0x1c]
mov word [esp + 0x54], ax
fadd dword [edi + 0x2c]
fstp dword [esp + 0x1c]
fxch st(1)
fmul dword [edi + 0x30]
fstp dword [esp + 0x10]
fmul dword [edi + 0x34]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul dword [edi + 0x38]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul dword [edi + 0x3c]
fld dword [esp + 0x10]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fe030
mov dword [esp + 0x10], 0x477ffc00
fld dword [esp + 0x14]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fe049
mov dword [esp + 0x14], 0x477ffc00
fld dword [esp + 0x18]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fe062
mov dword [esp + 0x18], 0x477ffc00
fcom dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fe077
fstp st(0)
fld dword [0x671b78]
fld dword [esp + 0x10]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fe090
mov dword [esp + 0x10], 0
fld dword [esp + 0x14]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fe0a9
mov dword [esp + 0x14], 0
fld dword [esp + 0x18]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fe0c2
mov dword [esp + 0x18], 0
fcom dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fe0d7
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 0x10]
add edi, 0x40
fadd dword [0x6542f8]
mov edi, dword [edi]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fld dword [esp + 0x14]
shr eax, 7
fadd dword [0x6542f8]
fstp dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
fld dword [esp + 0x18]
mov dword [esp + 0xa4], ebx
fadd dword [0x6542f8]
fstp dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xa8], ebx
fadd dword [0x6542f8]
fstp dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0xa4]
shr ebx, 7
mov word [esp + 0x62], bx
mov ebx, dword [esp + 0xa8]
shr ebx, 7
mov word [esp + 0x64], bx
mov ebx, dword [esp + 0x50]
and ebx, 0xfffe
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x52]
and ebx, 0xfffe
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x54]
and ebx, 0xfffe
mov dword [esp + 0x88], ebx
movzx ebx, ax
movzx eax, word [esp + 0x64]
or ebx, 1
mov dword [esp + 0x90], ebx
movzx ebx, word [esp + 0x62]
or eax, 1
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
or ebx, 1
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x3c]
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x34]
mov dword [ebx + edi + 0xc], eax
mov edi, dword [esp + 0x68]
mov bx, word [esp + 0x88]
mov dword [eax], ecx
mov ax, word [esp + 0x80]
mov word [edx - 4], ax
mov ax, word [esp + 0x90]
mov word [edx - 2], cx
mov word [edx], ax
mov ax, word [esp + 0x84]
mov word [edx + 2], cx
mov word [esi - 6], ax
mov ax, word [esp + 0x94]
mov word [esi - 4], cx
mov word [edi + edx], ax
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov word [esi], cx
mov word [edi + eax*8], bx
mov ebx, dword [esp + 0x6c]
mov word [edi + eax*8 + 2], cx
mov di, word [esp + 0x98]
mov word [ebx + edx], di
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
inc eax
add ebx, 0x10
mov word [edi + esi], cx
mov edi, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x30]
add edi, 0x20
inc ecx
add edx, 8
add esi, 8
cmp eax, ebx
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x5c]
jl 0x5fde50
mov ecx, dword [edi + 0x40]
mov dword [esp + 0x38], ecx
xor esi, esi
jmp 0x5fe280
lea eax, [ebx + ebx]
cmp eax, 1
mov byte [esp + 0x30], 0
jle 0x5fe2a3
mov edx, dword [esp + 0x30]
push edx
dec eax
push eax
mov eax, dword [esp + esi*4 + 0x4c]
push 0
push eax
call fcn.005f8370
add esp, 0x10
inc esi
cmp esi, 3
jl 0x5fe280
lea eax, [edi + 0x4c]
xor esi, esi
mov dword [esp + 0xc], eax
mov ecx, dword [esp + esi*4 + 0xc4]
mov edx, dword [esp + 0x38]
push esi
lea eax, [ebx + ebx]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.005fa420
mov ecx, dword [esp + 0xc]
inc esi
add ecx, 0xc
cmp esi, 3
mov dword [esp + 0xc], ecx
jl 0x5fe2b2
mov eax, dword [edi + 0x70]
test eax, eax
je 0x5fe315
xor edx, edx
test eax, eax
jle 0x5fe315
xor esi, esi
lea ecx, [ecx]
mov eax, dword [edi + 0x78]
movzx eax, word [esi + eax]
mov ecx, dword [edi + 0x40]
shl eax, 4
add eax, ecx
lea ecx, [ebx + ebx]
add word [eax + 4], cx
add word [eax + 6], cx
mov eax, dword [edi + 0x70]
inc edx
add esi, 0x10
cmp edx, eax
jl 0x5fe2f0
mov ecx, dword [0x9617f0]
mov edx, dword [ecx + 0xc]
lea eax, [ebx*4 + 0xf]
and eax, 0xfffffff0
cmp eax, edx
mov dword [esp + 0x38], eax
jle 0x5fe33a
mov edx, dword [ecx]
push eax
call dword [edx + 0x24]
mov esi, eax
jmp 0x5fe34f
mov esi, dword [ecx + 8]
mov dword [esp + 0x30], esi
add esi, eax
sub edx, eax
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x30]
mov dword [ecx + 0xc], edx
mov eax, ebx
or eax, 0x80000000
mov dword [esp + 0xa8], eax
xor eax, eax
test ebx, ebx
jle 0x5fe38f
mov ecx, dword [esp + 0x40]
shl ecx, 4
lea ebx, [ebx]
mov edx, dword [esp + 0x40]
add edx, eax
mov word [esi + eax*4 + 2], dx
mov edx, dword [edi + 0x40]
mov dx, word [ecx + edx + 8]
mov word [esi + eax*4], dx
inc eax
add ecx, 0x10
cmp eax, ebx
jl 0x5fe370
push ecx
mov eax, esp
mov byte [eax], 1
mov eax, dword [ebp + 0x10]
push eax
push ebx
push esi
mov ecx, edi
call fcn.005fb420
mov eax, dword [esp + 0x38]
test eax, eax
mov ecx, dword [0x9617f0]
je 0x5fe3c4
mov edx, dword [ecx + 0x14]
cmp esi, edx
je 0x5fe3bb
test edx, edx
jne 0x5fe3c4
mov edx, dword [ecx]
push eax
push esi
call dword [edx + 0x28]
jmp 0x5fe3d4
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub edi, eax
add edx, eax
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0xa8]
test eax, eax
js 0x5fe3f6
mov ecx, dword [0x9617f0]
mov edx, dword [ecx]
and eax, 0x7fffffff
push 0x12
shl eax, 2
push eax
push esi
call dword [edx + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc