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

Disassembly:
push 0xffffffffffffffff
push 0x52d8f8
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd0]
mov edi, dword [esp + 0xcc]
cmp byte [edi + 0x684], 0
je 0x4bab70
mov eax, 0x100
cmp dword [edi + 0x694], eax
je 0x4bab69
cmp dword [edi + 0x698], eax
jne 0x4bab70
mov byte [esp + 0x18], 1
jmp 0x4bab75
mov byte [esp + 0x18], 0
mov eax, dword [ebp + 0x38]
mov esi, dword [esp + 0xf0]
cmp dword [esp + 0xdc], 0
fld dword [eax + esi*4]
fst qword [esp + 0x5c]
sete byte [esp + 0x16]
call fcn.00505040
mov ebx, dword [esp + 0xf4]
mov ecx, dword [esp + 0xc8]
sub eax, dword [esp + 0xd8]
push ebx
push esi
lea esi, [ecx + 0x10]
push esi
mov esi, dword [esp + 0x24]
push esi
lea edx, [ecx + 0x250]
mov ecx, dword [ecx + 0x2c8]
push eax
push edx
mov dword [esp + 0x70], edx
push ebp
lea edx, [esp + 0x80]
push edx
mov edx, dword [esp + 0xf4]
call fcn.004acff0
mov dword [esp + 0xb8], 0
cmp dword [edi + 0x764], 0
je 0x4bac0b
cmp byte [edi + 0x6ac], 0
je 0x4bac0b
cmp byte [esp + 0xfc], 0
mov byte [esp + 0x17], 1
je 0x4bac10
mov byte [esp + 0x17], 0
cmp dword [esp + 0x98], 0
jge 0x4bac28
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x6c]
jge 0x4baf8f
lea ecx, [esp + 0x3c]
push ecx
lea esi, [esp + 0x68]
call fcn.004ad200
fild dword [esp + 0xd8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea eax, [edx + ecx]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0xd4]
fld qword [esp + 0x5c]
lea esi, [eax - 1]
fstp dword [esp + 0x30]
lea ebx, [esi + edx]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x28], edx
lea edx, [ecx*4]
mov ecx, dword [ebp + 0x38]
fld dword [edx + ecx]
mov dword [esp + 0x2c], esi
fld dword [esp + 0x34]
fld st(0)
faddp st(2)
fld dword [esp + 0x30]
fld st(0)
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x1c]
fadd dword [ecx + eax*4]
fsubrp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0xe0]
fcom st(1)
fnstsw ax
fld dword [esp + 0xe8]
fld dword [esp + 0x1c]
test ah, 5
jp 0x4baf7e
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4baf7e
fld dword [esp + 0x28]
fld dword [esp + 0xe4]
fcompp
fnstsw ax
test ah, 5
jp 0x4baf7e
fld dword [esp + 0x20]
fld dword [esp + 0xec]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4baf7e
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x4bad2e
fxch st(1)
fstp dword [esp + 0x1c]
jmp 0x4bad30
fstp st(1)
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4bad41
fstp dword [esp + 0x24]
jmp 0x4bad43
fstp st(0)
mov eax, dword [esp + 0xc0]
cmp byte [eax + 0x14], 0
je 0x4bad54
xor eax, eax
jmp 0x4bad5e
mov edi, dword [esp + 0x58]
push ebx
call fcn.004a42b0
or ecx, 0xffffffff
cmp dword [ebp + 0x40], ecx
je 0x4bad7d
cmp dword [ebp + 0x44], ecx
je 0x4bad7d
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x44]
cmp ecx, edx
jge 0x4badf4
cmp ebx, ecx
jl 0x4bad7d
cmp ebx, edx
jl 0x4badfc
mov byte [esp + 0x38], 0
mov ecx, dword [ebp + 0x34]
movzx ebx, byte [ecx + esi]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xfc]
push edx
mov edx, dword [esp + 0xfc]
push ecx
mov ecx, dword [esp + 0xd0]
push edx
push ebp
push ecx
lea edx, [esp + 0x2c]
mov ecx, esi
mov esi, dword [esp + 0xe0]
push edx
call fcn.004b82b0
add esp, 0x18
cmp dword [esp + 0x44], 0
je 0x4bae43
mov eax, dword [ebp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + eax], 9
jne 0x4bae06
cmp byte [esp + 0x17], 0
je 0x4bae0b
cmp byte [esp + 0x16], 0
je 0x4bade8
cmp dword [esi + 0x764], 1
jne 0x4bae0b
mov edx, dword [esi + 0x6a8]
mov dword [esp + 0x18], edx
jmp 0x4bae0b
cmp ebx, ecx
jge 0x4bad7d
cmp ebx, edx
jl 0x4bad7d
mov byte [esp + 0x38], 1
jmp 0x4bad82
mov byte [esp + 0x16], 0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x34]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x38]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + 0xc], esi
call edx
jmp 0x4bac10
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x34]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x38]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + 0xc], edi
call edx
cmp dword [esi + 0x764], 0
jne 0x4bae99
cmp byte [esp + 0x16], 0
je 0x4bac10
mov eax, esi
cmp dword [eax + 0x76c], 1
jne 0x4bac10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
xor esi, esi
sub eax, ecx
mov dword [esp + 0x2c], eax
js 0x4bac10
lea ebx, [ecx*4]
mov edx, dword [ebp + 0x30]
add edx, esi
cmp byte [edx + ecx], 0x20
jne 0x4baf68
cmp byte [esp + 0x17], 0
je 0x4baf6d
cmp byte [esp + 0x16], 0
je 0x4baeeb
mov edx, dword [esp + 0xcc]
cmp dword [edx + 0x764], 1
jne 0x4baf6d
mov eax, dword [ebp + 0x38]
fld dword [esp + 0x34]
mov ecx, dword [esp + 0xcc]
fld st(0)
fadd dword [eax + ebx]
add eax, ebx
fld dword [esp + 0x30]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x48]
mov edi, dword [esp + 0x48]
fld dword [esp + 0x20]
fstp dword [esp + 0x4c]
fld dword [eax + 4]
mov eax, dword [ecx + 0x6a8]
mov ecx, dword [esp + 0xc4]
faddp st(2)
mov edx, dword [ecx]
push eax
sub esp, 0x10
fsubp st(1)
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x60]
fstp dword [esp + 0x64]
fld dword [esp + 0x3c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x64]
fstp dword [esp + 0x68]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x68]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x38]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
jmp 0x4baf6d
mov byte [esp + 0x16], 0
inc esi
add ebx, 4
cmp esi, eax
jle 0x4baeb6
jmp 0x4bac10
fstp st(2)
fstp st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4bac10
mov eax, dword [esp + 0x84]
xor esi, esi
cmp eax, esi
je 0x4bafa5
push eax
call fcn.00501b8f
add esp, 4
mov ecx, dword [esp + 0x78]
push ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
call fcn.00501b8f
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 0x40