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

Disassembly:
sub esp, 0x60
push esi
xor esi, esi
mov dword [esp + 0x20], esi
call fcn.004a0920
fcomp dword [0xade6b0]
fnstsw ax
test ah, 0x40
je 0x4b68e3
xor eax, eax
pop esi
add esp, 0x60
ret
push ebx
push ebp
push edi
call fcn.004a0920
mov eax, dword [0x122f7b8]
fstp dword [0xade6b0]
mov edi, dword [eax + 0x21d4]
cmp edi, esi
jne 0x4b691f
mov eax, dword [eax + 0xd0]
shl eax, 1
push eax
call fcn.004c46b0
mov ecx, dword [0x122f7b8]
add esp, 4
mov dword [ecx + 0x21d4], eax
jmp 0x4b6937
mov ecx, dword [eax + 0xd0]
xor eax, eax
shl ecx, 1
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x122f7b8]
mov edi, dword [eax + 0x21e8]
cmp edi, esi
jne 0x4b6963
mov eax, dword [eax + 0xd0]
push eax
call fcn.004c46b0
mov ecx, dword [0x122f7b8]
add esp, 4
mov dword [ecx + 0x21e8], eax
jmp 0x4b6979
mov ecx, dword [eax + 0xd0]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
mov edi, dword [esp + 0x7c]
cmp eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
je 0x4b69a9
mov esi, dword [esp + 0x78]
push ebx
push eax
push esi
push edi
call fcn.004b5fb0
add esp, 0x10
jmp 0x4b69ad
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x84]
lea eax, [esp + 0x4c]
push eax
fld dword [ebp]
fsub dword [esi]
fstp dword [esp + 0x50]
fld dword [ebp + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x54]
fld dword [ebp + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x58]
call fcn.0042bd60
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x84]
fstp dword [esp + 0x80]
push 0
push ecx
push esi
push edx
push ebp
call dword [0x122fa58]
mov ecx, dword [0x122f7b8]
mov dword [esp + 0x54], eax
lea eax, [edi + edi*4]
add esp, 0x18
mov edx, dword [ecx + 0x21b0]
mov dword [edx + eax*8 + 4], edi
mov ecx, dword [esi]
lea eax, [edx + eax*8]
not ebx
mov dword [eax + 8], ecx
mov edx, dword [esi + 4]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [0x122f7b8]
mov ebp, ebx
mov ebx, eax
mov ecx, dword [edx + 0x21c0]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x20], eax
mov edx, dword [ecx + edi*4]
xor edi, edi
cmp eax, edi
mov ecx, dword [edx]
mov word [eax + 0x14], di
mov dword [eax + 0x18], ecx
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
je 0x4b6f62
jmp 0x4b6a63
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x14], ebx
cmp eax, edi
je 0x4b6a73
mov dword [eax + 0x24], edi
jmp 0x4b6a77
mov dword [esp + 0x20], edi
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], edx
mov dword [ebx + 0x1c], edi
mov edx, dword [0x122f7b8]
shl eax, 5
mov ecx, dword [edx + 0xdc]
add eax, ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
cmp ecx, edi
lea esi, [eax + eax*4]
lea eax, [eax + esi*2]
mov esi, dword [edx + 0xe4]
lea esi, [esi + eax*4]
mov dword [esp + 0x30], esi
jle 0x4b6f58
lea edi, [esi + 0x18]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x8c], edi
jmp 0x4b6acc
mov edx, dword [0x122f7b8]
mov ecx, dword [edi + 0xc]
add edi, 0xfffffff4
test dword [edx + ecx*4 + 0x2130], ebp
jne 0x4b6f27
mov edx, dword [esi]
push edx
call fcn.004b52e0
add esp, 4
test ebp, eax
jne 0x4b6f27
mov esi, dword [esi]
mov ecx, dword [0x122f7b8]
mov eax, esi
mov edx, dword [ecx + 0xdc]
shl eax, 5
test byte [eax + edx + 4], 8
jne 0x4b6f27
cmp esi, dword [esp + 0x88]
je 0x4b6f27
mov eax, dword [ebx + 4]
lea ebp, [ebx + 8]
push edi
push ebp
push eax
call fcn.004b3fb0
mov ecx, dword [esp + 0x98]
mov edx, dword [0x122f7b8]
mov di, ax
add esp, 0xc
add di, word [ecx + 0x10]
lea eax, [ecx - 0xc]
mov eax, dword [edx + 0x21d4]
add di, word [ebx + 0x14]
mov cx, word [eax + esi*2]
lea eax, [eax + esi*2]
test cx, cx
je 0x4b6b64
cmp cx, di
jb 0x4b6f27
mov word [eax], di
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x4b6b7b
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
jmp 0x4b6b8d
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4b6b8d
cmp di, ax
jae 0x4b6f27
mov ebx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x58]
push ecx
push ebx
push ebp
push edx
call fcn.0042c440
add esp, 0x10
xor edx, edx
lea ecx, [esp + 0x58]
fld dword [ecx]
fld dword [ebp]
fadd qword [0x4e0408]
fcompp
fnstsw ax
test ah, 1
je 0x4b6bdc
fld dword [ecx]
fld dword [ebx]
fadd qword [0x4e0408]
fcompp
fnstsw ax
test ah, 1
jne 0x4b6e67
fld dword [ecx]
fld dword [ebp]
fsub qword [0x4e0408]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4b6c07
fld dword [ecx]
fld dword [ebx]
fsub qword [0x4e0408]
fcompp
fnstsw ax
test ah, 0x41
je 0x4b6e67
inc edx
add ebp, 4
add ecx, 4
add ebx, 4
cmp edx, 3
jl 0x4b6bb1
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x8c]
fld dword [eax]
fsub dword [esp + 0x58]
fstp dword [esp + 0x40]
fld dword [eax + 4]
fsub dword [esp + 0x5c]
fstp dword [esp + 0x44]
fld dword [eax + 8]
fsub dword [esp + 0x60]
fstp dword [esp + 0x48]
lea eax, [esp + 0x40]
push eax
call fcn.0042bfc0
fstp dword [esp + 0x1c]
fld dword [esp + 0x80]
fcomp dword [0x4e03b0]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4b6c94
fld dword [esp + 0x18]
fcomp dword [esp + 0x7c]
fnstsw ax
test ah, 1
je 0x4b6c94
fld dword [esp + 0x18]
fcomp dword [0x4e0520]
fnstsw ax
test ah, 1
jne 0x4b6f23
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x78]
fld dword [ebx]
fsub dword [eax]
fstp dword [esp + 0x40]
fld dword [ebx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x44]
fld dword [ebx + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x48]
fld dword [esp + 0x7c]
fcomp dword [0x4e03b0]
fnstsw ax
test ah, 0x41
jne 0x4b6cf8
fld dword [esp + 0x48]
fmul dword [esp + 0x54]
fld dword [esp + 0x44]
fmul dword [esp + 0x50]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x4c]
faddp st(1)
fld dword [esp + 0x7c]
fmul dword [0x4e03c4]
fcompp
fnstsw ax
test ah, 1
jne 0x4b6f23
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
fld dword [ecx]
fsub dword [edx + 8]
lea eax, [edx + 8]
mov eax, edx
fstp dword [esp + 0x64]
fld dword [ecx + 4]
fsub dword [eax + 0xc]
fstp dword [esp + 0x68]
fld dword [ecx + 8]
fsub dword [eax + 0x10]
lea eax, [esp + 0x64]
push eax
fstp dword [esp + 0x70]
call fcn.0042bfc0
fstp dword [esp + 0x2c]
fld dword [esp + 0x80]
fcomp dword [0x4e03b0]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4b6d8e
fld dword [esp + 0x18]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x4b6d8e
fld dword [esp + 0x28]
fsub dword [esp + 0x18]
and edi, 0xffff
mov dword [esp + 0x28], edi
fmul dword [0x4e0444]
fiadd dword [esp + 0x28]
call fcn.004cb970
mov edi, eax
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4b6d8e
cmp di, ax
jae 0x4b6f23
mov ecx, dword [esp + 0x74]
push esi
push 0xffffffffffffffff
push ecx
call fcn.004b3900
add esp, 0xc
test eax, eax
je 0x4b6da8
add edi, 0x3e8
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4b6dcd
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x4b6dcd
push esi
push eax
call fcn.004b64a0
add esp, 8
test eax, eax
jne 0x4b6f23
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4b6ddf
cmp ax, di
jbe 0x4b6f23
mov edx, dword [0x122f7b8]
mov eax, dword [edx + 0x21e0]
cmp dword [eax + esi*4], 0
je 0x4b6eb1
mov ecx, dword [esp + 0x88]
push esi
push ecx
call fcn.004b64a0
add esp, 8
test eax, eax
jne 0x4b6eb1
mov eax, dword [0x122f7b8]
mov edx, dword [eax + 0x21e8]
mov cl, byte [edx + esi]
cmp cl, 2
je 0x4b6e9f
test cl, cl
jne 0x4b6e5b
mov ecx, dword [esp + 0x74]
mov eax, dword [eax + 0x21e4]
lea edx, [esi + esi*2]
push 0
push ecx
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
push ecx
push edx
push eax
call dword [0x122fa58]
add esp, 0x14
test eax, eax
mov eax, dword [0x122f7b8]
je 0x4b6e9f
mov ecx, dword [eax + 0x21e8]
mov byte [ecx + esi], 1
jmp 0x4b6eb1
cmp edx, 3
jge 0x4b6c16
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x8c]
fld dword [eax]
fsub dword [ebx]
fstp dword [esp + 0x40]
fld dword [eax + 4]
fsub dword [ebx + 4]
fstp dword [esp + 0x44]
fld dword [eax + 8]
fsub dword [ebx + 8]
fstp dword [esp + 0x48]
jmp 0x4b6c44
mov edx, dword [eax + 0x21e8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], esi
mov byte [edx + esi], 2
mov eax, dword [esp + 0x2c]
mov ecx, eax
inc eax
cmp ecx, 0xfa0
mov dword [esp + 0x2c], eax
jg 0x4b6f23
mov eax, dword [0x122f7b8]
lea edx, [esi + esi*4]
mov ecx, dword [eax + 0x21b0]
mov dword [ecx + edx*8 + 4], esi
mov word [ecx + edx*8 + 0x14], di
lea eax, [ecx + edx*8]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x4b6f23
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x20], 0
test ecx, ecx
mov dword [eax + 0x24], ecx
je 0x4b6f14
mov dword [ecx + 0x20], eax
jmp 0x4b6f18
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [eax + 0x1c], 1
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
add esi, 0x2c
add edi, 0x2c
dec eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x34], eax
jne 0x4b6ac6
xor edi, edi
cmp dword [esp + 0x24], edi
jne 0x4b6a5f
mov eax, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x60
ret