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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56ff2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
mov ebx, ecx
mov eax, 0xd
push esi
mov dword [ebx + 0x10], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x14]
mov edi, 1
xor esi, esi
mov dword [ebx + 0x50], edi
mov ecx, dword [eax]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x50]
push eax
push 0x5ca870
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x4c], esi
call fcn.004b2a50
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 4
sete cl
mov eax, ecx
cmp eax, esi
je 0x4fad71
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
mov dword [esp + 0x98], esi
je 0x4fad61
mov edx, dword [esp + 0x58]
mov ecx, eax
push edx
call fcn.004c4300
jmp 0x4fad63
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [ebx + 0xc], eax
lea ecx, [esp + 0x50]
call fcn.004b24e0
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x50]
push eax
push 0x5d87d0
call fcn.004b2a50
cmp dword [eax], 6
jne 0x4faed1
mov ecx, dword [esp + 0x58]
cmp dword [ecx + 0xc], 4
jne 0x4faed1
lea edx, [esp + 0x40]
mov dword [ebx + 0x40], esi
push edx
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x28], esi
push esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x2c], esi
call fcn.004bc920
mov eax, dword [eax]
cmp eax, edi
je 0x4fadd1
cmp eax, 2
jne 0x4fade4
cmp dword [esp + 0x40], edi
jne 0x4faddd
fild dword [esp + 0x48]
jmp 0x4fade1
fld qword [esp + 0x48]
fstp qword [ebx + 0x28]
lea ecx, [esp + 0x40]
call fcn.004b24e0
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x40]
push eax
push edi
call fcn.004bc920
mov eax, dword [eax]
cmp eax, edi
je 0x4fae07
cmp eax, 2
jne 0x4fae1a
cmp dword [esp + 0x40], edi
jne 0x4fae13
fild dword [esp + 0x48]
jmp 0x4fae17
fld qword [esp + 0x48]
fstp qword [ebx + 0x30]
lea ecx, [esp + 0x40]
call fcn.004b24e0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x5c]
push 2
call fcn.004bc920
mov eax, dword [eax]
cmp eax, edi
je 0x4fae3e
cmp eax, 2
jne 0x4fae51
cmp dword [esp + 0x40], edi
jne 0x4fae4a
fild dword [esp + 0x48]
jmp 0x4fae4e
fld qword [esp + 0x48]
fstp qword [ebx + 0x38]
lea ecx, [esp + 0x40]
call fcn.004b24e0
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x40]
push edx
push 3
call fcn.004bc920
mov eax, dword [eax]
cmp eax, edi
je 0x4fae75
cmp eax, 2
jne 0x4fae88
cmp dword [esp + 0x40], edi
jne 0x4fae81
fild dword [esp + 0x48]
jmp 0x4fae85
fld qword [esp + 0x48]
fstp qword [ebx + 0x40]
lea ecx, [esp + 0x40]
call fcn.004b24e0
fld qword [ebx + 0x28]
fcomp qword [ebx + 0x38]
fnstsw ax
test ah, 0x41
jne 0x4faeb0
fld qword [ebx + 0x28]
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
fstp qword [ebx + 0x38]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
fld qword [ebx + 0x30]
fcomp qword [ebx + 0x40]
fnstsw ax
test ah, 0x41
jne 0x4faee3
fld qword [ebx + 0x30]
mov edx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x44]
fstp qword [ebx + 0x40]
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], eax
jmp 0x4faee3
push 0x5e901c
push 0xffffffffffffffff
call fcn.004cda10
add esp, 8
mov dword [ebx + 0x50], esi
lea ecx, [esp + 0x50]
call fcn.004b24e0
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [ebp + 0x10]
push 0x5c91bc
call fcn.004b2a50
cmp dword [eax], edi
jne 0x4faf0b
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x48], edx
jmp 0x4faf0e
mov dword [ebx + 0x48], esi
lea ecx, [esp + 0x50]
call fcn.004b24e0
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x50]
push eax
push 0x5e9018
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x3ff00000
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3ff00000
call fcn.004b2a50
cmp dword [eax], 7
jne 0x4fb1f7
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x5c]
push 0x5d0780
call fcn.004b2a50
cmp dword [eax], 4
jne 0x4fb0fc
cmp dword [esp + 0x40], 4
jne 0x4fb0fc
mov edi, dword [esp + 0x48]
mov esi, 0x5d0780
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fafd6
test cl, cl
je 0x4fafd0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fafd6
add eax, 2
add esi, 2
test cl, cl
jne 0x4fafb0
xor esi, esi
xor eax, eax
jmp 0x4fafdd
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
jne 0x4fafea
mov dword [esp + 0x10], esi
jmp 0x4fb0f7
mov esi, 0x5ba47c
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fb017
test cl, cl
je 0x4fb011
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fb017
add eax, 2
add esi, 2
test cl, cl
jne 0x4faff1
xor esi, esi
xor eax, eax
jmp 0x4fb01e
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
jne 0x4fb030
mov edi, 1
mov dword [esp + 0x10], edi
jmp 0x4fb0fc
mov esi, 0x5d0d58
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fb05d
test cl, cl
je 0x4fb057
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fb05d
add eax, 2
add esi, 2
test cl, cl
jne 0x4fb037
xor esi, esi
xor eax, eax
jmp 0x4fb064
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
jne 0x4fb075
mov dword [esp + 0x10], 2
jmp 0x4fb0f7
mov esi, 0x5c9c10
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fb0a2
test cl, cl
je 0x4fb09c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fb0a2
add eax, 2
add esi, 2
test cl, cl
jne 0x4fb07c
xor esi, esi
xor eax, eax
jmp 0x4fb0a9
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
jne 0x4fb0b7
mov dword [esp + 0x10], 3
jmp 0x4fb0f7
mov esi, 0x5d04f0
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fb0e4
test cl, cl
je 0x4fb0de
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fb0e4
add eax, 2
add esi, 2
test cl, cl
jne 0x4fb0be
xor esi, esi
xor eax, eax
jmp 0x4fb0eb
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
jne 0x4fb0f7
mov dword [esp + 0x10], 4
mov edi, 1
lea ecx, [esp + 0x40]
call fcn.004b24e0
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x40]
push eax
push 0x5d0404
call fcn.004b2a50
mov eax, dword [eax]
cmp eax, edi
je 0x4fb123
cmp eax, 2
jne 0x4fb143
cmp dword [esp + 0x40], edi
jne 0x4fb133
fild dword [esp + 0x48]
fstp qword [esp + 0x1c]
jmp 0x4fb143
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x40]
call fcn.004b24e0
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x40]
push eax
push 0x5ba47c
call fcn.004b2a50
cmp dword [eax], 6
jne 0x4fb1e9
mov ecx, dword [esp + 0x48]
push 8
mov eax, dword [ecx + 0xc]
push eax
mov dword [esp + 0x1c], eax
call fcn.004c6580
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, esi
jle 0x4fb1e9
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x60]
push edx
push esi
call fcn.004bc920
mov eax, dword [eax]
cmp eax, 1
je 0x4fb1a9
cmp eax, 2
jne 0x4fb1c0
cmp dword [esp + 0x60], 1
jne 0x4fb1b8
fild dword [esp + 0x68]
fstp qword [edi]
jmp 0x4fb1cd
fld qword [esp + 0x68]
fstp qword [edi]
jmp 0x4fb1cd
mov dword [edi], 0
mov dword [edi + 4], 0x3ff00000
lea ecx, [esp + 0x60]
call fcn.004b24e0
mov eax, dword [esp + 0x14]
inc esi
add edi, 8
cmp esi, eax
jl 0x4fb18e
xor esi, esi
mov edi, 1
lea ecx, [esp + 0x40]
call fcn.004b24e0
jmp 0x4fb322
lea ecx, [esp + 0x50]
call fcn.004b24e0
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x50]
push eax
push 0x5e9010
call fcn.004b2a50
cmp dword [eax], 6
jne 0x4fb322
mov ecx, dword [esp + 0x58]
cmp dword [ecx + 0xc], 3
jl 0x4fb322
lea edx, [esp + 0x40]
push edx
push 2
call fcn.004bc920
mov eax, dword [eax]
cmp eax, edi
je 0x4fb240
cmp eax, 2
jne 0x4fb260
cmp dword [esp + 0x40], edi
jne 0x4fb250
fild dword [esp + 0x48]
fstp qword [esp + 0x1c]
jmp 0x4fb260
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x40]
call fcn.004b24e0
mov ecx, dword [esp + 0x58]
cmp dword [ecx + 0xc], 4
jl 0x4fb322
lea edx, [esp + 0x40]
push edx
push 3
call fcn.004bc920
cmp dword [eax], 6
jne 0x4fb302
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], edi
push 8
mov edi, dword [eax + 0xc]
push edi
mov dword [esp + 0x1c], edi
call fcn.004c6580
add esp, 8
cmp edi, esi
mov dword [esp + 0x18], eax
jle 0x4fb312
mov edi, eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x4c]
push esi
call fcn.004bc920
mov eax, dword [eax]
cmp eax, 1
je 0x4fb2c7
cmp eax, 2
jne 0x4fb2de
cmp dword [esp + 0x60], 1
jne 0x4fb2d6
fild dword [esp + 0x68]
fstp qword [edi]
jmp 0x4fb2eb
fld qword [esp + 0x68]
fstp qword [edi]
jmp 0x4fb2eb
mov dword [edi], 0
mov dword [edi + 4], 0x3ff00000
lea ecx, [esp + 0x60]
call fcn.004b24e0
mov eax, dword [esp + 0x14]
inc esi
add edi, 8
cmp esi, eax
jl 0x4fb2ac
jmp 0x4fb312
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x40]
call fcn.004b24e0
xor esi, esi
mov edi, 1
lea ecx, [esp + 0x50]
call fcn.004b24e0
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x50]
push edx
push 0x5bee6c
call fcn.004b2a50
cmp dword [eax], 6
jne 0x4fb41a
mov ecx, dword [esp + 0x58]
cmp dword [ecx + 0xc], 3
jne 0x4fb41a
lea eax, [esp + 0x40]
push eax
push esi
call fcn.004bc920
mov eax, dword [eax]
cmp eax, edi
je 0x4fb36a
cmp eax, 2
jne 0x4fb38a
cmp dword [esp + 0x40], edi
jne 0x4fb37a
fild dword [esp + 0x48]
fstp qword [esp + 0x34]
jmp 0x4fb38a
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
lea ecx, [esp + 0x50]
call fcn.004b24e0
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x40]
push eax
push edi
call fcn.004bc920
mov eax, dword [eax]
cmp eax, edi
je 0x4fb3ad
cmp eax, 2
jne 0x4fb3cd
cmp dword [esp + 0x40], edi
jne 0x4fb3bd
fild dword [esp + 0x48]
fstp qword [esp + 0x2c]
jmp 0x4fb3cd
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
lea ecx, [esp + 0x50]
call fcn.004b24e0
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x40]
push eax
push 2
call fcn.004bc920
mov eax, dword [eax]
cmp eax, edi
je 0x4fb3f1
cmp eax, 2
jne 0x4fb411
cmp dword [esp + 0x40], edi
jne 0x4fb401
fild dword [esp + 0x48]
fstp qword [esp + 0x24]
jmp 0x4fb411
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x50]
call fcn.004b24e0
lea ecx, [esp + 0x50]
call fcn.004b24e0
push 0x30
call fcn.0055d252
add esp, 4
cmp eax, esi
je 0x4fb471
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ecx
mov ecx, eax
call fcn.004fac40
jmp 0x4fb473
xor eax, eax
mov esi, dword [ebp + 0x10]
lea edx, [esp + 0x70]
push edx
push 0x5e900c
mov ecx, esi
mov dword [ebx + 0x4c], eax
call fcn.004b2a50
cmp dword [eax], 7
jne 0x4fb575
lea eax, [esp + 0x80]
mov ecx, esi
push eax
push 0x5e9008
call fcn.004b2a50
cmp dword [eax], 4
jne 0x4fb53b
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x7c]
push 0x5c9d30
call fcn.004b2a50
cmp dword [eax], 7
jne 0x4fb560
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004b2ae0
cmp dword [eax], 9
jne 0x4fb502
lea eax, [ebx + 0x10]
lea ecx, [esp + 0x40]
push eax
call fcn.004b2380
lea ecx, [esp + 0x40]
mov dword [ebx + 0x50], edi
call fcn.004b24e0
jmp 0x4fb560
lea ecx, [esp + 0x40]
call fcn.004b24e0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x5c]
push 0x5e9004
call fcn.004b2ae0
cmp dword [eax], 9
jne 0x4fb530
lea eax, [ebx + 0x10]
lea ecx, [esp + 0x40]
push eax
call fcn.004b2380
lea ecx, [esp + 0x40]
call fcn.004b24e0
jmp 0x4fb560
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x50]
push edx
push 0x5c9d30
call fcn.004b2ae0
cmp dword [eax], 9
jne 0x4fb560
lea eax, [ebx + 0x10]
lea ecx, [esp + 0x50]
push eax
call fcn.004b2380
lea ecx, [esp + 0x50]
call fcn.004b24e0
lea ecx, [esp + 0x80]
call fcn.004b24e0
lea ecx, [esp + 0x70]
call fcn.004b24e0
mov ecx, dword [esp + 0x90]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10