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

Disassembly:
push 0xffffffffffffffff
push 0x625830
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
mov ebx, dword [esp + 0xe4]
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0xfc]
mov eax, dword [ebp + 0x18]
push edi
cmp eax, 1
mov dword [esp + 0x54], ebp
je 0x4b93d6
test esi, esi
je 0x4b9395
test byte [esi + 0xc], 2
jne 0x4b93d6
mov edx, dword [esp + 0xfc]
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [esp + 0xf8]
push edx
mov edx, dword [esp + 0x100]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0xf8]
push ebx
push edx
mov edx, dword [esp + 0xfc]
push edx
mov edx, dword [esp + 0xfc]
push edx
call dword [eax + 0x48]
test eax, eax
jne 0x4b9c7e
mov eax, dword [0x646cd0]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], eax
mov ecx, eax
mov edx, eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x58], ecx
test eax, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
je 0x4b9454
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x100]
fld dword [esp + 0xf4]
mov edi, dword [esp + 0xf4]
push ecx
fchs
fstp dword [esp]
push edi
lea ecx, [esp + 0x60]
call fcn.0049b630
fld dword [esp + 0x5c]
fabs
fld dword [esp + 0x58]
fabs
fxch st(1)
fxch st(1)
faddp st(1)
fld dword [0x646cd0]
fmul dword [0x646ce8]
fcompp
fnstsw ax
test ah, 1
je 0x4b94d7
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0xec]
push 0
push 0
push ecx
mov ecx, dword [esp + 0xf4]
push 0
push 0
push edx
mov edx, dword [esp + 0xfc]
push edi
push ebx
push eax
push ecx
push edx
mov ecx, ebp
call fcn.004b9ca0
jmp 0x4b9c7e
push ebx
mov ecx, ebp
call fcn.004b9f00
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x18]
cmp eax, 1
mov dword [esp + 0x24], 2
jne 0x4b9528
mov eax, dword [ebp + 0x10]
cmp eax, 1
jle 0x4b9528
test esi, esi
je 0x4b950c
test byte [esi + 0xc], 1
je 0x4b9520
cmp eax, 0x10
jl 0x4b9520
mov al, byte [ebp + 0x14]
mov dword [esp + 0x24], 3
test al, 0x40
je 0x4b9528
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0xe4]
lea ecx, [eax + eax*2]
shl ecx, 2
push ecx
call fcn.00486090
mov esi, dword [esp + 0xe8]
add esp, 4
xor ebp, ebp
mov dword [esp + 0x20], eax
test esi, esi
jle 0x4b97fa
cmp esi, 1
jne 0x4b9565
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x18], edi
jmp 0x4b9575
mov edx, dword [esp + 0xe8]
mov eax, dword [edx + ebp*4]
mov dword [esp + 0x18], eax
mov edi, eax
cmp edi, 0xffffffff
jne 0x4b958e
mov edx, dword [esp + 0x20]
lea ecx, [ebp + ebp*2]
mov dword [edx + ecx*4], 0
jmp 0x4b97f1
test ebp, ebp
je 0x4b95a3
mov eax, dword [esp + 0xec]
fld dword [eax + ebp*4 - 4]
fstp dword [esp + 0x10]
jmp 0x4b95ab
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x40]
mov eax, 4
cmp ecx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
jne 0x4b9739
mov edx, dword [ebx + 0x10]
xor ecx, ecx
cmp edx, eax
setne cl
dec ecx
and ecx, ebx
mov esi, ecx
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4b9739
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4b9739
mov edx, dword [esp + 0x10]
push edi
mov ecx, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
call fcn.004d81b0
mov edi, eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x38]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004d8190
movsx edx, word [esp + 0x38]
mov dword [esp + 0x1c], edx
push edi
fild dword [esp + 0x20]
movsx eax, word [esp + 0x38]
fmul dword [esp + 0xf8]
mov dword [esp + 0x20], eax
mov ecx, esi
fmul dword [0x6348d4]
fsubr dword [esp + 0x14]
fstp dword [esp + 0x14]
fild dword [esp + 0x20]
fmul dword [esp + 0xf8]
fmul dword [0x6348d4]
fsubr dword [esp + 0x18]
fstp dword [esp + 0x18]
call fcn.004d81d0
mov cl, byte [eax + 3]
and ecx, 2
mov dword [esp + 0x28], ecx
je 0x4b9735
lea edx, [ebx + 0x40]
mov ecx, 6
lea esi, [esp + 0x58]
lea edi, [esp + 0x70]
mov eax, dword [edx]
push 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
push 0
mov eax, dword [edx + 8]
push 0
fild dword [esp + 0xb0]
mov ecx, dword [edx + 0xc]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
push ecx
fstp dword [esp + 0x40]
fild dword [esp + 0xbc]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fsub dword [esp + 0x3c]
fild dword [esp + 0xb8]
fisub dword [esp + 0xb0]
fld st(0)
fdiv st(2)
fstp dword [esp]
fxch st(1)
fdiv st(1)
push ecx
lea ecx, [esp + 0x6c]
fchs
fstp dword [esp]
push 0
fstp st(0)
call fcn.0049b550
fld dword [esp + 0x2c]
fmul dword [esp + 0xf4]
fmul dword [0x6348d4]
fsubr dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x30]
fmul dword [esp + 0xf4]
fmul dword [0x6348d4]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0xf8]
test ecx, ecx
je 0x4b9753
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.0049b380
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0049b900
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
push edx
call fcn.0049b900
mov esi, eax
mov eax, dword [ebx + 0x10]
add esp, 8
cmp eax, 3
je 0x4b9796
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jne 0x4b9796
xor ecx, ecx
cmp eax, 4
setne cl
dec ecx
test ebx, ecx
jne 0x4b9796
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x20]
jmp 0x4b9798
xor eax, eax
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x40]
push eax
push edx
push edi
push ebx
call fcn.004ba0b0
mov edx, dword [esp + 0x20]
lea ecx, [ebp + ebp*2]
test eax, eax
lea ecx, [edx + ecx*4]
mov dword [ecx], eax
je 0x4b97d3
mov eax, dword [eax + 0x28]
mov edx, dword [esp + 0x1c]
add eax, edx
mov dword [ecx + 4], eax
mov edx, dword [ecx]
sub esi, dword [edx + 0x24]
mov dword [ecx + 8], esi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4b97ea
mov ecx, 6
lea esi, [esp + 0x70]
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xe4]
inc ebp
cmp ebp, esi
jl 0x4b9553
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push esi
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.004b8790
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x54]
add esp, 0x10
cmp eax, ebp
jle 0x4b9c71
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
cmp ecx, edi
jle 0x4b9c71
cmp dword [esp + 0x24], 2
je 0x4b9bbd
mov ebx, dword [esp + 0x54]
cmp dword [ebx + 0x10], 8
jne 0x4b984e
mov esi, 0x108
jmp 0x4b9863
mov edx, dword [ebx + 0x14]
and dl, 0x40
neg dl
sbb edx, edx
and edx, 0x208
add edx, 0x18
mov esi, edx
push 0
sub ecx, edi
push esi
sub eax, ebp
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.004b2de0
cmp esi, 0x18
mov dword [esp + 0xdc], 0
jne 0x4b98a0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
lea edx, [esp + 0x74]
push ecx
push edx
mov ecx, ebx
call fcn.004911d0
jmp 0x4b98ab
push 0
lea ecx, [esp + 0x74]
call fcn.004b3310
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x7c]
cdq
and edx, 7
mov dword [esp + 0x30], ecx
add eax, edx
lea edx, [esp + 0x34]
sar eax, 3
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x104]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.004b2ca0
mov edx, dword [esp + 0x2c]
xor ecx, ecx
xor eax, eax
add esp, 0x14
mov cl, byte [edx + 0x6a1b50]
xor edx, edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x6a1b50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
mov dl, byte [eax + 0x6a1b50]
mov eax, dword [esp + 0xe4]
test eax, eax
mov dword [esp + 0x34], edx
jle 0x4b9b6d
mov ebp, dword [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp]
test ecx, ecx
je 0x4b9b53
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
mov ebx, dword [ecx + 8]
sub esi, edi
mov edi, dword [ebp + 4]
sub edi, edx
mov edx, dword [ecx + 4]
test eax, eax
jne 0x4b9997
mov eax, dword [esp + 0xfc]
push 0
push 0
push 0
push 0
push eax
push ecx
push ebx
push edx
push esi
push edi
lea ecx, [esp + 0x98]
call fcn.004c4040
jmp 0x4b9b53
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebp, edx
mov edx, dword [ecx]
mov dword [esp + 0x9c], ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x38]
test ebx, ebx
mov edx, dword [ecx]
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x98], ecx
jle 0x4b9b4f
imul edi, dword [esp + 0x28]
imul esi, dword [esp + 0x30]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x3c], eax
add edx, edi
mov dword [esp + 0x1c], ebx
lea ecx, [esi + edx + 2]
mov dword [esp + 0x2c], ecx
test ebp, ebp
mov edi, eax
jle 0x4b9b21
mov eax, dword [esp + 0x28]
lea ebx, [eax + 2]
xor edx, edx
mov eax, 0x80808081
mov dl, byte [edi]
mov esi, edx
imul esi, dword [esp + 0x10]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov al, byte [ecx]
inc edi
mov esi, eax
xor eax, eax
mov al, byte [esi + 0x6a1b50]
mov esi, eax
mov eax, 0xff
sub eax, edx
imul edx, dword [esp + 0x18]
imul esi, eax
add esi, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
dec ecx
mov dl, byte [edx + eax + 0x6a1c50]
xor eax, eax
mov byte [ecx + 1], dl
mov al, byte [edi]
mov esi, eax
mov eax, 0x80808081
imul esi, dword [esp + 0x10]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov al, byte [ecx]
inc edi
mov esi, eax
xor eax, eax
mov al, byte [esi + 0x6a1b50]
mov esi, eax
mov eax, 0xff
sub eax, edx
imul edx, dword [esp + 0x14]
imul esi, eax
add esi, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
dec ecx
mov dl, byte [edx + eax + 0x6a1c50]
xor eax, eax
mov byte [ecx + 1], dl
mov al, byte [edi]
mov esi, eax
mov eax, 0x80808081
imul esi, dword [esp + 0x10]
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov al, byte [ecx]
inc edi
mov esi, eax
xor eax, eax
mov al, byte [esi + 0x6a1b50]
mov esi, eax
mov eax, 0xff
sub eax, edx
imul edx, dword [esp + 0x34]
imul esi, eax
add esi, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
mov dl, byte [edx + eax + 0x6a1c50]
mov byte [ecx], dl
add ecx, ebx
dec ebp
jne 0x4b99ff
mov ebp, dword [esp + 0x9c]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x98]
mov edx, dword [esp + 0x1c]
add ecx, edi
add eax, esi
dec edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], edx
jne 0x4b99ee
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
add ebp, 0xc
dec eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], eax
jne 0x4b9946
mov ebx, dword [esp + 0x54]
cmp dword [esp + 0x80], 1
jne 0x4b9b91
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x78]
push ecx
push edx
mov ecx, ebx
call fcn.00491470
jmp 0x4b9ba9
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push 0
push eax
lea edx, [esp + 0x78]
push ecx
push edx
mov ecx, ebx
call fcn.00491200
mov dword [esp + 0xdc], 0xffffffff
lea ecx, [esp + 0x70]
jmp 0x4b9c6c
push 0
sub ecx, edi
push 0x101
sub eax, ebp
push ecx
push eax
lea ecx, [esp + 0xc0]
call fcn.004b2de0
push 0
lea ecx, [esp + 0xb4]
mov dword [esp + 0xe0], 1
call fcn.004b3310
test esi, esi
jle 0x4b9c37
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0xe4]
mov eax, dword [esi]
test eax, eax
je 0x4b9c31
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebp, dword [esp + 0x48]
push 0
push 0
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esp + 0x58]
sub eax, ebp
sub ecx, edx
push eax
push ecx
lea ecx, [esp + 0xcc]
call fcn.004b3630
add esi, 0xc
dec edi
jne 0x4b9bfe
mov edx, dword [esp + 0xfc]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.00491470
mov dword [esp + 0xdc], 0xffffffff
lea ecx, [esp + 0xb0]
call fcn.004b2ea0
mov eax, dword [esp + 0x20]
push eax
call fcn.004860c0
add esp, 4
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret 0x20