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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a8ad7
sub esp, 0x60
mov eax, dword [esp + 0x70]
lea ecx, [eax - 0xc]
cmp ecx, 4
ja 0x4a893d
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jle 0x4a88f7
lea eax, [0x685ba0]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
call fcn.00408b80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4a88b8
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
cmp dword [esp + 4], 0x10
jne 0x4a8872
lea eax, [0x679620]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x68]
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, [0x698bc0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x4a8723
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
jmp 0x4a8733
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045f670
mov eax, ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
nop
nop
mov ecx, dword [esp + 0x5c]
movzx edx, byte [ecx + 7]
movzx ebx, byte [ecx + 6]
mov ebp, ebx
shl ebx, 8
or edx, ebx
movzx ebx, byte [ecx + 5]
mov esi, ebx
shl ebx, 0x10
or ebx, edx
movzx edx, byte [ecx + 4]
mov edi, edx
shl edx, 0x18
or edx, ebx
movzx ebx, byte [ecx + 3]
movzx eax, byte [ecx + 2]
mov dword [esp + 0x44], eax
movzx eax, byte [ecx + 1]
mov dword [esp + 0x40], eax
movzx eax, byte [ecx]
mov dword [esp + 0x3c], eax
movzx eax, byte [ecx + 0xf]
mov dword [esp + 0x38], eax
movzx eax, byte [ecx + 0xe]
mov dword [esp + 0x34], eax
movzx eax, byte [ecx + 0xd]
mov dword [esp + 0x30], eax
movzx eax, byte [ecx + 0xc]
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 0xb]
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 0xa]
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 9]
movzx ecx, byte [ecx + 8]
mov dword [esp + 0x48], edx
shr ebp, 0x18
shr esi, 0x10
or ebp, esi
shr edi, 8
or ebp, edi
or ebx, ebp
mov ebp, dword [esp + 0x44]
shl ebp, 8
or ebx, ebp
mov ebp, dword [esp + 0x40]
shl ebp, 0x10
or ebp, ebx
mov ebx, dword [esp + 0x3c]
shl ebx, 0x18
or ebp, ebx
mov dword [esp + 0x4c], ebp
mov ebx, dword [esp + 0x34]
mov esi, ebx
shl ebx, 8
mov edi, dword [esp + 0x38]
or edi, ebx
mov ebx, dword [esp + 0x30]
shl ebx, 0x10
or ebx, edi
mov edi, dword [esp + 0x2c]
shl edi, 0x18
or edi, ebx
mov dword [esp + 0x50], edi
shr esi, 0x18
mov ebx, dword [esp + 0x30]
shr ebx, 0x10
or ebx, esi
mov esi, dword [esp + 0x2c]
shr esi, 8
or ebx, esi
mov esi, dword [esp + 0x28]
or esi, ebx
mov ebx, dword [esp + 0x24]
shl ebx, 8
or esi, ebx
shl eax, 0x10
or eax, esi
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x58]
mov dword [ecx + 0x90], edx
mov dword [ecx + 0x94], ebp
mov dword [ecx + 0x98], edi
mov dword [ecx + 0x9c], eax
mov eax, 2
jmp 0x4a8a05
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x6c7e41]
mov dword [eax], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x8955a4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x70]
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 + 0x74], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ebx
add esp, 0x60
ret
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x64
lea ecx, [0x6cd625]
mov dword [eax], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x8955a4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x6c659e]
mov dword [eax], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x8955a4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov dword [esp + 0x44], esi
shl edx, 4
mov dword [ecx + edx + 0x10], eax
mov dword [ecx + edx + 0x14], ebx
mov dword [ecx + edx + 0x18], esi
mov dword [ecx + edx + 0x1c], ebp
mov edx, dword [esp + 0x20]
lea edi, [edx + 1]
mov dword [esp + 0x1c], edi
shl edi, 2
and edi, 0xc
mov edx, dword [esp + 0x1c]
sar edx, 2
and edx, 3
or edx, edi
mov edi, edx
shl edx, 1
and edx, 0xa
sar edi, 1
and edi, 5
or edi, edx
shl edi, 4
mov edx, dword [esp + 0x48]
xor edx, eax
mov eax, ebp
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x54]
mov dword [ecx + edi + 0x10], edx
xor ebx, ebp
mov dword [ecx + edi + 0x14], ebx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
xor edx, ebx
mov dword [ecx + edi + 0x18], edx
xor esi, eax
mov dword [ecx + edi + 0x1c], esi
mov edx, dword [esp + 0x20]
lea eax, [edx + 2]
cmp eax, 0x10
jge 0x4a8ab2
mov dword [esp + 0x20], eax
mov edx, eax
shr eax, 0x1f
add eax, edx
mov ebx, eax
sar eax, 1
shl eax, 2
and eax, 0xc
sar ebx, 3
and ebx, 3
or ebx, eax
mov eax, ebx
shl ebx, 1
and ebx, 0xa
sar eax, 1
and eax, 5
or eax, ebx
shl eax, 4
mov ebx, edx
shl edx, 2
and edx, 0xc
sar ebx, 2
and ebx, 3
or ebx, edx
mov edx, ebx
shl ebx, 1
and ebx, 0xa
sar edx, 1
and edx, 5
or edx, ebx
mov ebx, dword [ecx + eax + 0x18]
mov esi, dword [ecx + eax + 0x1c]
mov dword [esp + 0x44], esi
mov edi, ebx
shr ebx, 1
shl esi, 0x1f
or esi, ebx
mov ebx, dword [esp + 0x44]
shr ebx, 1
mov ebp, dword [ecx + eax + 0x10]
mov dword [esp + 0x44], ebp
shl ebp, 0x1f
or ebp, ebx
mov eax, dword [ecx + eax + 0x14]
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x44]
shr ebx, 1
shl eax, 0x1f
or eax, ebx
mov ebx, dword [esp + 0x40]
shr ebx, 1
test edi, 1
je 0x4a8983
xor ebx, 0xe1000000
jmp 0x4a8983
lea eax, [0x896848]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x60
ret
call fcn.0045e260
jmp fcn.004a8630