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

Disassembly:
push 0xffffffffffffffff
push 0x57662e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
mov eax, dword [0x5ccef4]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x2b4], eax
mov dword [esp + 0x14], ebp
call fcn.00494f80
call dword [0x57e304]
mov edi, eax
xor ebx, ebx
xor esi, esi
cmp edi, ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], esi
jbe 0x495467
push ebx
push ebx
push ebx
push esi
lea eax, [esp + 0x20]
push eax
call dword [0x57e32c]
test eax, eax
jne 0x49545a
lea ecx, [esp + 0x74]
call fcn.00494670
mov edx, dword [esp + 0x10]
push 0x30
lea ecx, [esp + 0x138]
push ecx
push edx
mov dword [esp + 0x2cc], ebx
call dword [0x57e308]
test eax, eax
jne 0x495405
mov eax, dword [esp + 0x160]
xor esi, esi
cmp eax, ebx
mov edi, eax
jle 0x495405
lea esp, [esp]
mov ecx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x168]
push eax
push ecx
mov dword [esp + 0x170], 0xa8
mov dword [esp + 0x174], esi
call dword [0x57e30c]
test eax, eax
jne 0x495194
cmp dword [esp + 0x17c], 4
je 0x49519e
inc esi
cmp esi, edi
jl 0x495160
jmp 0x495405
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
push 0x50030001
lea eax, [esp + 0x16c]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x2d0], 1
call fcn.004948f0
test al, al
je 0x495235
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x60]
mov dword [esp + 0xb8], ecx
push edx
lea ecx, [esp + 0xc0]
mov dword [esp + 0xb8], eax
call fcn.00494410
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
call fcn.00494410
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
mov byte [esp + 0x2c0], bl
je 0x49526c
mov eax, dword [esp + 0x68]
sub eax, ecx
sar eax, 2
shl eax, 2
cmp eax, 0x80
jbe 0x495262
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x49526c
push eax
push ecx
call fcn.0050e390
add esp, 8
mov eax, dword [esp + 0x184]
xor edi, edi
cmp eax, ebx
mov ebp, eax
jle 0x4953b5
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x168]
push 1
lea edx, [esp + 0x210]
push edx
push eax
mov dword [esp + 0x218], 0xa8
mov dword [esp + 0x21c], ecx
mov dword [esp + 0x220], edi
call dword [0x57e30c]
test eax, eax
jne 0x4953ac
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
push 0x50030001
lea edx, [esp + 0x214]
push edx
push eax
mov byte [esp + 0x2d0], 2
call fcn.004948f0
test al, al
je 0x495375
mov eax, dword [esp + 0x224]
sub eax, 0x1004
je 0x49531d
dec eax
je 0x495316
sub eax, 3
jne 0x495375
mov esi, 2
jmp 0x495322
mov esi, 1
jmp 0x495322
mov esi, 3
mov edx, dword [esp + 0x20]
lea eax, [esi + esi*8]
lea eax, [esp + eax*4 + 0xa4]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x14], edx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [eax + 0x18]
call fcn.00494410
lea edx, [esp + 0x38]
lea ecx, [esi + esi*2]
push edx
lea ecx, [esp + ecx*4 + 0x78]
call fcn.00494410
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
mov byte [esp + 0x2c0], bl
je 0x4953ac
mov eax, dword [esp + 0x40]
sub eax, ecx
sar eax, 2
shl eax, 2
cmp eax, 0x80
jbe 0x4953a2
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x4953ac
push eax
push ecx
call fcn.0050e390
add esp, 8
inc edi
cmp edi, ebp
jl 0x495280
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x4953e8
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
cmp ecx, ebx
mov byte [esp + 0x2c0], 3
je 0x4953df
lea eax, [esp + 0x74]
push eax
call fcn.00494740
add dword [esi + 4], 0xf0
jmp 0x495401
push 1
push 1
lea edx, [esp + 0x23]
push edx
lea eax, [esp + 0x80]
push eax
push ecx
mov ecx, esi
call fcn.00494e10
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x57e324]
push 0x494350
push 4
push 0x24
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0x2d0], 4
call fcn.0052c3e3
push fcn.00494040
push 4
push 0xc
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x2d0], 0xffffffff
call fcn.0052c3e3
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x1c]
inc esi
cmp esi, edi
mov dword [esp + 0x1c], esi
jb 0x495102
mov ecx, dword [esp + 0x2b8]
pop edi
pop esi
mov byte [ebp + 0xc], 1
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2a8]
xor eax, eax
pop ebx
call fcn.0052bbbf
add esp, 0x2b4
ret