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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b42ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebx
push esi
mov ebx, ecx
push edi
push 0x615668
lea ecx, [esp + 0x60]
call fcn.005867eb
xor eax, eax
mov dword [esp + 0x74], 0x5d35a8
mov dword [esp + 0x188], eax
mov dword [esp + 0x78], eax
mov esi, dword [ebp + 8]
mov byte [esp + 0x188], 1
cmp dword [esi + 0xc], eax
je 0x4b95f7
mov eax, dword [ebx]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [eax]
mov dword [esp + 0x80], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x84], ecx
mov ecx, ebx
mov edx, dword [eax + 8]
mov dword [esp + 0x88], edx
mov edx, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x8c], eax
lea eax, [ebx + 0x4c]
push eax
call dword [edx + 0x18]
lea ecx, [esp + 0x74]
push 8
push ecx
push esi
mov ecx, ebx
call fcn.004d5ec0
mov edx, dword [esi]
lea eax, [esp + 0x74]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov edx, dword [ebx]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x90]
mov ecx, ebx
push eax
call dword [edx + 0x1c]
mov edx, eax
fld dword [ebx + 0xc8]
mov ecx, dword [edx]
fsub dword [ebx + 0xc4]
mov edi, dword [edx + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edi
mov eax, dword [edx + 8]
mov dword [esp + 0x44], eax
sub eax, ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x48], edx
mov ecx, dword [ebx + 0x100]
cdq
xor eax, edx
mov dword [esp + 0x24], ecx
sub eax, edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
fild dword [esp + 0x58]
fild dword [esp + 0x24]
sub eax, edi
mov dword [esp + 0x64], eax
fdivr st(2)
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xf8]
mov dword [esp + 0x34], eax
fdivp st(1)
fstp dword [esp + 0x4c]
fild dword [esp + 0x18]
fidiv dword [ebx + 0x104]
fstp dword [esp + 0x58]
fild dword [esp + 0x68]
fild dword [esp + 0x3c]
fstp dword [esp + 0x1c]
fld dword [ebx + 0xc4]
fsub dword [ebx + 0xf8]
fdiv st(2)
fmul st(1)
fabs
fadd dword [esp + 0x1c]
fstp dword [esp + 0x20]
fld dword [ebx + 0xfc]
fsub dword [ebx + 0xc4]
fdivrp st(2)
fxch st(1)
fmul st(1)
fabs
fxch st(1)
fstp st(0)
fadd dword [esp + 0x1c]
fstp dword [esp + 0x18]
fld dword [ebx + 0xcc]
fadd dword [ebx + 0xf8]
fstp dword [esp + 0x30]
mov eax, dword [ebx + 0xd0]
push 0x615664
cdq
idiv ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
call fcn.005867eb
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x18c], 2
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [0x5c91c0]
fld dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
sub esp, 8
lea edx, [esp + 0xc0]
fstp qword [esp]
push ecx
push edx
call fcn.0056c73e
lea edi, [esp + 0xc8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [esi + 8]
mov edi, dword [0x5c91c0]
not ecx
lea eax, [esp + 0x28]
dec ecx
push eax
push ecx
lea ecx, [esp + 0xc0]
push ecx
push edx
call edi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
add ecx, eax
sub esp, 8
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
fdiv dword [esp + 0x54]
fstp qword [esp]
call fcn.0056c5d5
add esp, 8
call fcn.0056b454
fld dword [esp + 0x18]
fadd dword [0x5cb160]
mov edx, dword [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x10], edx
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x4b9a18
inc ecx
mov dword [esp + 0x38], ecx
fld dword [esp + 0x10]
call fcn.0056b454
mov edi, eax
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x94]
push edi
push ecx
mov ecx, esi
call fcn.0058a971
mov edx, dword [esp + 0x40]
mov ecx, esi
push edx
push edi
call fcn.0058a9bd
fld dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
sub esp, 8
lea ecx, [esp + 0xc0]
fstp qword [esp]
push eax
push ecx
call fcn.0056c73e
lea edi, [esp + 0xc8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x50]
dec ecx
push edx
push ecx
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc0]
push eax
push ecx
call dword [0x5c91c0]
mov ecx, dword [esp + 0x14]
mov eax, ecx
cdq
idiv dword [esp + 0x38]
test edx, edx
jne 0x4b99d6
mov eax, ecx
cdq
idiv dword [esp + 0x1c]
test edx, edx
jne 0x4b99d6
mov eax, dword [esp + 0x50]
lea edi, [esp + 0xb8]
cdq
sub eax, edx
or ecx, 0xffffffff
sar eax, 1
mov dword [esp + 0x18], eax
xor eax, eax
fild dword [esp + 0x18]
repne scasb al, byte es:[edi]
fstp dword [esp + 0x20]
fld dword [esp + 0x10]
fsub dword [esp + 0x20]
mov edx, dword [esi]
lea eax, [esp + 0xb8]
not ecx
dec ecx
mov dword [esp + 0x18], edx
push ecx
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff6
push eax
push ecx
call fcn.0056b454
mov edx, dword [esp + 0x24]
push eax
mov ecx, esi
call dword [edx + 0x5c]
fld dword [esp + 0x20]
fadd dword [esp + 0x10]
fadd dword [0x5cb3ac]
call fcn.0056b454
mov ecx, dword [esp + 0x60]
mov edi, dword [esi]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x48]
mov edx, dword [ecx - 8]
push edx
push ecx
push edi
push eax
mov eax, dword [esp + 0x28]
mov ecx, esi
call dword [eax + 0x5c]
fild dword [esp + 0x54]
fmul dword [0x5d3640]
call fcn.0056b454
fld dword [esp + 0x34]
mov ecx, edi
sub esp, 8
sub ecx, eax
lea edx, [esp + 0xc0]
fstp qword [esp]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x64]
push ecx
push edx
call fcn.0056c73e
lea edi, [esp + 0xc8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [esi + 8]
lea eax, [esp + 0x6c]
not ecx
dec ecx
push eax
push ecx
lea ecx, [esp + 0xc0]
push ecx
push edx
call dword [0x5c91c0]
mov eax, dword [esp + 0x6c]
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
lea edi, [esp + 0xb8]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x28], edx
repne scasb al, byte es:[edi]
fld dword [esp + 0x10]
fsub dword [esp + 0x20]
not ecx
dec ecx
lea eax, [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff6
push eax
push ecx
call fcn.0056b454
mov edx, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [edx + 0x5c]
fld dword [esp + 0x20]
fadd dword [esp + 0x10]
fadd dword [0x5cb3ac]
call fcn.0056b454
mov ecx, dword [esp + 0x60]
mov edi, dword [esi]
mov edx, dword [ecx - 8]
push edx
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push eax
mov ecx, esi
call dword [edi + 0x5c]
fild dword [ebx + 0xd0]
mov eax, dword [esp + 0x14]
inc eax
fld st(0)
fadd dword [esp + 0x30]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x30]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x10]
fadd dword [esp + 0x4c]
fst dword [esp + 0x10]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4b97de
mov edi, dword [0x5c91c0]
mov ecx, dword [esp + 0x68]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov dword [esp + 0x30], 0
sar edx, 2
mov eax, edx
mov dword [esp + 0x14], 0
shr eax, 0x1f
add edx, eax
cmp edx, 0x64
mov dword [esp + 0x34], edx
jl 0x4b9a50
mov dword [esp + 0x34], 0x64
fild dword [ebx + 0x104]
fild dword [ebx + 0x108]
fdivr dword [ebx + 0x78]
fdivp st(1)
call fcn.0056b454
fild dword [esp + 0x48]
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x10]
fild dword [esp + 0x40]
fadd dword [0x5cb544]
fstp dword [esp + 0x4c]
fld dword [esp + 0x10]
fcomp dword [esp + 0x4c]
fnstsw ax
test ah, 0x41
je 0x4b9be5
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, ecx
mov dword [esp + 0x24], eax
fld dword [esp + 0x10]
call fcn.0056b454
mov ecx, dword [esp + 0x3c]
mov edi, eax
push edi
lea edx, [esp + 0x94]
push ecx
push edx
mov ecx, esi
call fcn.0058a971
mov eax, dword [esp + 0x44]
push edi
push eax
mov ecx, esi
call fcn.0058a9bd
mov ecx, dword [esp + 0x24]
push edi
lea edx, [esp + 0x70]
push ecx
push edx
mov ecx, esi
call fcn.0058a971
fld dword [esp + 0x30]
sub esp, 8
lea eax, [esp + 0xc0]
fstp qword [esp]
push 0x61565c
push eax
call fcn.0056c73e
lea edi, [esp + 0xc8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x50]
dec ecx
push edx
push ecx
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc0]
push eax
push ecx
call dword [0x5c91c0]
mov edx, dword [esp + 0x54]
sub esp, 8
add edx, 5
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fdiv dword [esp + 0x60]
fstp qword [esp]
call fcn.0056c5d5
add esp, 8
call fcn.0056b454
mov ecx, dword [esp + 0x14]
lea edi, [eax + 1]
mov eax, ecx
cdq
idiv edi
test edx, edx
jne 0x4b9bc0
mov eax, ecx
cdq
idiv dword [esp + 0x1c]
test edx, edx
jne 0x4b9bc0
lea edi, [esp + 0xb8]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xb8]
push ecx
push eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fadd dword [esp + 0x18]
call fcn.0056b454
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x5c]
fild dword [ebx + 0x108]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x10]
fadd dword [esp + 0x58]
inc dword [esp + 0x14]
fst dword [esp + 0x10]
fcomp dword [esp + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x4b9aa1
mov edi, dword [0x5c91c0]
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x4b9c30
mov eax, dword [ebx + 0xe4]
lea edx, [esp + 0x6c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call edi
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x40]
mov eax, dword [ebx + 0xe4]
lea ecx, [ecx + edx + 0xa]
mov edx, dword [eax - 8]
mov dword [esp + 0x28], edx
push dword [esp + 0x28]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x44]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x5c]
mov eax, dword [ebx + 0xe8]
test eax, eax
je 0x4b9c89
mov eax, dword [ebx + 0xec]
lea edx, [esp + 0x50]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call edi
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
lea ecx, [ecx + edx + 0xa]
mov edx, dword [esp + 0x50]
sub eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xec]
mov edx, dword [eax - 8]
mov dword [esp + 0x28], edx
push dword [esp + 0x28]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x40]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x5c]
mov eax, dword [ebx + 0x10c]
lea edx, [esp + 0x90]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call edi
fild dword [esp + 0x34]
mov edi, dword [esp + 0x48]
fst dword [esp + 0x1c]
fmul dword [0x5cf374]
call fcn.0056b454
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
sub ecx, eax
mov eax, dword [ebx + 0x10c]
mov dword [esp + 0x14], ecx
mov edx, dword [eax - 8]
mov dword [esp + 0x28], edx
push dword [esp + 0x28]
mov edx, dword [esi]
push eax
lea eax, [edi - 0xa]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x5c]
mov eax, dword [ebx + 0x110]
lea edx, [esp + 0x6c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [0x5c91c0]
fild dword [esp + 0x70]
fmul dword [0x5d3640]
call fcn.0056b454
mov ecx, edi
sub ecx, eax
mov eax, dword [ebx + 0x110]
mov edx, dword [eax - 8]
mov dword [esp + 0x28], edx
push dword [esp + 0x28]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x5c]
fild dword [esp + 0x64]
fmul dword [0x5d35c8]
call fcn.0056b454
mov ecx, dword [esp + 0x14]
sub edi, eax
push edi
lea edx, [esp + 0x94]
push ecx
push edx
mov ecx, esi
call fcn.0058a971
fild dword [esp + 0x64]
fmul qword [str.mFI5]
call fcn.0056b454
add edi, eax
mov eax, dword [esp + 0x14]
push edi
push eax
mov ecx, esi
call fcn.0058a9bd
mov eax, 0x51eb851f
imul dword [esp + 0x68]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x28], edx
fld dword [esp + 0x1c]
fmul dword [0x5cf374]
call fcn.0056b454
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x3c]
push 3
sub eax, edx
mov dword [esp + 0xa8], edi
sub eax, ecx
mov dword [esp + 0xb8], edi
mov dword [esp + 0xa4], eax
mov eax, 0x78787879
imul dword [esp + 0x68]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edi
sub eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x40]
sub ecx, edx
add ecx, eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [0x5c919c]
mov eax, dword [esp + 0x64]
fld dword [esp + 0x1c]
fmul dword [0x5d3630]
cdq
and edx, 7
add eax, edx
sar eax, 3
sub edi, eax
call fcn.0056b454
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov eax, dword [ebx + 0x114]
mov edx, dword [eax - 8]
mov dword [esp + 0x28], edx
push dword [esp + 0x28]
mov edx, dword [esi]
push eax
push edi
push ecx
mov ecx, esi
call dword [edx + 0x5c]
push esi
mov ecx, ebx
call fcn.004b9fd0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4b9e77
mov edx, dword [ebx]
lea eax, [esp + 0x80]
push eax
mov ecx, ebx
call dword [edx + 0x18]
lea ecx, [esp + 0x60]
mov byte [esp + 0x188], 1
call int.0058677d
mov dword [esp + 0x74], 0x5ca4dc
lea ecx, [esp + 0x74]
mov byte [esp + 0x188], 3
call fcn.0058af34
lea ecx, [esp + 0x5c]
mov dword [esp + 0x188], 0xffffffff
call int.0058677d
mov ecx, dword [esp + 0x180]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4