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

Disassembly:
mov ecx, dword [0x590288]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x492027
sub esp, 0x68
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x491c27
lea ebx, [0x571900]
cmp edx, ebx
jne 0x491c2d
lea eax, [0x590358]
mov dword [esp], eax
lea eax, [0x4d38f4]
mov dword [esp + 4], eax
call fcn.004797a0
mov edx, dword [esp + 0x6c]
jmp 0x491c2d
lea edx, [0x56f960]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x491dd6
mov dword [esp + 0x58], ecx
mov ebx, dword [edx + 0x38]
test ebx, ebx
je 0x491cf5
mov ebp, dword [edx + 0x28]
mov dword [esp + 0x54], ebp
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x50], esi
mov edi, dword [esp + 0x74]
cmp edi, esi
sete al
setg cl
mov esi, dword [esp + 0x70]
cmp esi, ebp
xchg ebp, ebx
setae bl
xchg ebp, ebx
and ebp, eax
or ecx, ebp
test cl, cl
je 0x491cfd
mov ebp, dword [edx + 0x30]
mov dword [esp + 0x4c], ebp
mov eax, dword [edx + 0x34]
mov dword [esp + 0x48], eax
cmp edi, eax
setl cl
sete al
cmp esi, ebp
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, eax
or ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x491cfd
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
movzx ebx, byte [ebx + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
mov byte [esp + 0x94], bl
add esp, 0x68
ret
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x5c], edx
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x491d4c
mov ebx, dword [edx + 0x14]
mov ebp, dword [ebx + 4]
cmp edi, ebp
xchg ebp, ebx
setl bl
xchg ebp, ebx
sete al
cmp dword [ebx], esi
seta dl
and edx, eax
or edx, ebp
test dl, dl
jne 0x491d48
mov dword [esp + 0x64], ebx
mov dword [esp + 0x44], ecx
mov eax, ecx
xor edx, edx
mov ebp, 0x7fffffff
mov eax, 0xffffffff
mov dword [esp + 0x54], eax
mov eax, ecx
jmp 0x491e4e
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
call fcn.00492040
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 4]
cmp ecx, edx
jbe 0x491e2b
mov ecx, dword [eax + 8]
shl edx, 4
mov ebx, dword [eax + 0x18]
mov ebp, dword [edx + ecx]
mov esi, dword [edx + ecx + 4]
mov edi, dword [edx + ecx + 8]
test ebx, ebx
je 0x491d89
mov eax, dword [eax + 0x14]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x491d93
mov ebx, 0x7fffffff
mov eax, 0xffffffff
movzx ecx, byte [edx + ecx + 0xc]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x80000000
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebx
mov byte [esp + 0x94], cl
add esp, 0x68
ret
lea eax, [0x4c88a8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 3
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x80000000
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x90], 0x7fffffff
mov byte [esp + 0x94], 0
add esp, 0x68
ret
mov eax, edx
call fcn.0046bf60
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x44]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x54], ecx
mov ecx, ebp
mov ebp, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], ebp
sub ecx, edx
cmp ecx, 1
jle 0x491eaf
mov ebp, dword [esp + 0x3c]
lea ecx, [edx + ebp]
shr ecx, 1
cmp eax, ecx
jbe 0x49201b
mov dword [esp + 0x40], ecx
lea eax, [ecx + ecx*2]
mov ecx, dword [ebx + eax*4]
mov eax, dword [ebx + eax*4 + 4]
cmp edi, eax
xchg edi, ebx
setl bl
xchg edi, ebx
sete bl
cmp esi, ecx
xchg esi, ebx
setb bl
xchg esi, ebx
and esi, ebx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x491ea1
mov ebp, dword [esp + 0x40]
jmp 0x491e32
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
jmp 0x491e32
cmp edx, eax
jae 0x492012
lea ecx, [edx + edx*2]
lea edi, [ebx + ecx*4 + 8]
movzx edi, byte [edi]
mov esi, dword [esp + 0x58]
cmp esi, edi
jbe 0x492009
mov esi, dword [esp + 0x5c]
mov ebp, dword [esi + 8]
shl edi, 4
dec eax
mov esi, dword [edi + ebp]
mov dword [esp + 0x60], esi
mov esi, dword [edi + ebp + 4]
mov dword [esp + 0x58], esi
mov esi, dword [edi + ebp + 8]
mov dword [esp + 0x44], esi
mov esi, dword [ebx + ecx*4 + 4]
mov ecx, dword [ebx + ecx*4]
movzx ebx, byte [edi + ebp + 0xc]
cmp edx, eax
jne 0x491fbf
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x24]
test edx, edx
je 0x491fbf
mov byte [esp + 0x3b], bl
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ecx
mov eax, dword [eax + 0x20]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
call fcn.00492120
movzx eax, byte [esp + 0x35]
test al, al
jne 0x491f5d
mov ecx, dword [esp + 0x4c]
movzx ebx, byte [esp + 0x3b]
mov esi, dword [esp + 0x48]
jmp 0x491fbf
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
movzx ebp, byte [esp + 0x34]
xchg ebp, eax
mov byte [esp + 0x3a], al
xchg ebp, eax
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
movzx eax, byte [esp + 0x3a]
mov byte [esp + 0x94], al
add esp, 0x68
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x90], eax
mov byte [esp + 0x94], bl
add esp, 0x68
ret
mov eax, edi
mov ecx, esi
call fcn.0046bf60
mov ecx, eax
mov eax, edx
call fcn.0046bf60
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.0046bf60
nop
call fcn.0046aae0
jmp fcn.00491be0