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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x491c6b
sub esp, 0x68
mov eax, dword [esp + 0x78]
lea ecx, [eax - 0xc]
cmp ecx, 4
ja 0x491a8f
mov ecx, dword [esp + 0x74]
test ecx, ecx
jle 0x491a43
lea eax, [0x695b20]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
call fcn.004093f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4919fe
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call ecx
cmp dword [esp + 4], 0x10
jne 0x4919b2
lea eax, [0x688f80]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 0x10
call ecx
lea eax, [0x6a8b60]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [eax], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x491853
mov edx, dword [esp + 0x70]
mov dword [eax + 4], edx
jmp 0x491863
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.00463080
mov eax, ecx
mov edx, dword [esp + 0x74]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
nop
nop
mov edx, dword [esp + 0x64]
movzx ebx, byte [edx + 7]
movzx ebp, byte [edx + 6]
mov dword [esp + 0x48], ebp
movzx esi, byte [edx + 5]
movzx edi, byte [edx + 4]
mov ecx, edi
movzx edi, byte [edx + 3]
mov dword [esp + 0x44], edi
movzx edi, byte [edx + 2]
mov dword [esp + 0x40], edi
movzx edi, byte [edx + 1]
mov dword [esp + 0x3c], edi
movzx edi, byte [edx]
mov dword [esp + 0x38], edi
movzx edi, byte [edx + 0xf]
mov dword [esp + 0x34], edi
movzx edi, byte [edx + 0xe]
mov dword [esp + 0x30], edi
movzx edi, byte [edx + 0xd]
mov dword [esp + 0x2c], edi
movzx edi, byte [edx + 0xc]
mov dword [esp + 0x28], edi
movzx edi, byte [edx + 0xb]
mov dword [esp + 0x24], edi
movzx edi, byte [edx + 0xa]
mov dword [esp + 0x50], edi
movzx edi, byte [edx + 9]
movzx edx, byte [edx + 8]
shl ebp, 8
or ebx, ebp
mov ebp, esi
shl esi, 0x10
or esi, ebx
mov ebx, ecx
shl ecx, 0x18
or ecx, esi
mov dword [esp + 0x54], ecx
mov esi, dword [esp + 0x48]
shr esi, 0x18
shr ebp, 0x10
or esi, ebp
shr ebx, 8
or esi, ebx
mov ebx, dword [esp + 0x44]
or ebx, esi
mov ebp, dword [esp + 0x40]
shl ebp, 8
or ebx, ebp
mov ebp, dword [esp + 0x3c]
shl ebp, 0x10
or ebp, ebx
mov ebx, dword [esp + 0x38]
shl ebx, 0x18
or ebp, ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x58], ebp
mov ebx, dword [esp + 0x30]
mov esi, ebx
shl ebx, 8
mov ebp, dword [esp + 0x34]
or ebp, ebx
mov ebx, dword [esp + 0x2c]
shl ebx, 0x10
or ebx, ebp
mov ebp, dword [esp + 0x28]
shl ebp, 0x18
or ebp, ebx
mov dword [esp + 0x5c], ebp
shr esi, 0x18
mov ebx, dword [esp + 0x2c]
shr ebx, 0x10
or esi, ebx
mov ebx, dword [esp + 0x28]
shr ebx, 8
or esi, ebx
mov ebx, dword [esp + 0x24]
or ebx, esi
mov esi, dword [esp + 0x50]
shl esi, 8
or ebx, esi
shl edi, 0x10
or edi, ebx
shl edx, 0x18
or edi, edx
mov dword [esp + 0x60], edi
mov dword [eax + 0x90], ecx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], ebp
mov dword [eax + 0x9c], edi
mov ecx, 2
jmp 0x491af5
lea eax, [0x697fe0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x6d52e2]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x7395a8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x68
ret
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ebx
add esp, 0x68
ret
lea eax, [0x697fe0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x64
lea ecx, [0x6dabd0]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x7395a8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x68
ret
lea eax, [0x697fe0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x6d3999]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x7395a8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x68
ret
shl edx, 4
mov dword [eax + edx + 0x10], edi
mov dword [eax + edx + 0x14], ebp
mov ebx, dword [esp + 0x1c]
mov dword [eax + edx + 0x18], ebx
mov dword [eax + edx + 0x1c], esi
add ecx, 2
cmp ecx, 0x10
jge 0x491c1b
mov edx, ecx
shr ecx, 0x1f
lea ebx, [edx + ecx]
mov ebp, ebx
sar ebx, 1
mov esi, edx
shl edx, 2
and edx, 0xc
mov edi, esi
sar esi, 2
and esi, 3
or esi, edx
mov edx, esi
shl esi, 1
and esi, 0xa
sar edx, 1
and edx, 5
or edx, esi
shl ebx, 2
and ebx, 0xc
sar ebp, 3
and ebp, 3
or ebp, ebx
mov ebx, ebp
shl ebp, 1
and ebp, 0xa
sar ebx, 1
and ebx, 5
or ebx, ebp
cmp ebx, 0x10
jae 0x491c5e
mov dword [esp + 0x4c], edi
shl ebx, 4
mov ebp, dword [eax + ebx + 0x18]
mov esi, dword [eax + ebx + 0x1c]
mov dword [esp + 0x48], esi
mov ecx, ebp
shr ebp, 1
shl esi, 0x1f
or esi, ebp
mov ebp, dword [esp + 0x48]
shr ebp, 1
mov edi, dword [eax + ebx + 0x10]
mov dword [esp + 0x48], edi
shl edi, 0x1f
or edi, ebp
mov ebx, dword [eax + ebx + 0x14]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x48]
shr ebp, 1
shl ebx, 0x1f
or ebx, ebp
mov ebp, dword [esp + 0x44]
shr ebp, 1
test ecx, 1
je 0x491ba5
xor ebp, 0xe1000000
cmp edx, 0x10
jae 0x491c52
mov dword [esp + 0x48], edi
shl edx, 4
mov dword [eax + edx + 0x10], ebx
mov dword [eax + edx + 0x14], ebp
mov dword [eax + edx + 0x18], esi
mov dword [eax + edx + 0x1c], edi
mov edx, dword [esp + 0x4c]
mov ecx, edx
inc edx
mov dword [esp + 0x20], edx
shl edx, 2
and edx, 0xc
mov edi, dword [esp + 0x20]
sar edi, 2
and edi, 3
or edi, edx
mov edx, edi
shl edi, 1
and edi, 0xa
sar edx, 1
and edx, 5
or edx, edi
mov edi, dword [esp + 0x58]
xor ebp, edi
mov edi, dword [esp + 0x54]
xor edi, ebx
mov ebx, dword [esp + 0x5c]
xor ebx, esi
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x48]
xor esi, ebx
cmp edx, 0x10
jb 0x491adb
jmp 0x491c46
lea ecx, [0x73aa2c]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x68
ret
mov eax, edx
mov ecx, 0x10
call fcn.00463100
mov eax, edx
mov ecx, 0x10
call fcn.00463100
mov eax, ebx
mov ecx, 0x10
call fcn.00463100
nop
call fcn.00461c70
jmp fcn.00491760