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

Disassembly:
push ebp
push ebx
sub esp, 0xb4
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
movzx ecx, byte [esp + 0xcc]
mov dword [esp + 0x74], 0x4e39a0
mov dword [esp + 0x38], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xb0]
mov dword [esp], edx
mov byte [esp + 0x4b], cl
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], 0x4e5688
mov dword [esp + 0x80], 0x4a95b5
mov dword [esp + 0x84], esp
call fcn.00476230
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x40]
movzx eax, byte [esp + 0x38]
mov dword [esp + 0x60], 0xffffffff
add edx, 0x6c
mov dword [esp], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edx
mov byte [esp + 0x4a], al
call fcn.004df910
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
lea ecx, [esp + 0x9b]
mov dword [esp + 0x2c], eax
call fcn.0048c390
sub esp, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0x34]
mov eax, dword [eax]
movzx edx, byte [edx + 0x38]
cmp byte [eax], dl
mov dword [esp + 0x28], eax
je 0x4a93b2
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x30]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0xa4], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], eax
mov ebx, dword [ecx - 0xc]
add ebx, dword [esp + 0x28]
cmp dword [esp + 0x28], ebx
jae 0x4a9369
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [eax + 0x18]
movzx eax, byte [edx]
test byte [ecx + eax*2], 8
je 0x4a9369
mov eax, dword [esp + 0x28]
lea esi, [esi]
add eax, 1
cmp eax, ebx
jne 0x4a93a0
sub eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4a9369
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], 0x4ee75c
mov dword [esp + 0x60], 1
add eax, eax
mov dword [esp], eax
call fcn.004b71e0
sub esp, 4
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x2c]
sub edx, eax
test edx, edx
mov dword [esp + 0x30], edx
jle 0x4a9162
test eax, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
cmovns ecx, edx
mov dword [esp + 0x30], ecx
test eax, eax
je 0x4a94b6
mov eax, ecx
add eax, eax
mov dword [esp + 4], 0
lea ecx, [esp + 0x9c]
mov dword [esp], eax
mov dword [esp + 0x60], 1
call fcn.004b6710
sub esp, 8
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x9c]
mov edx, dword [esp + 0x28]
add edx, dword [esp + 0x30]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
movsx eax, byte [eax + 0x12]
mov dword [esp + 0x58], eax
call fcn.004b6be0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004db8f0
lea ecx, [esp + 0x9c]
mov dword [esp + 0x3c], eax
call fcn.004b6be0
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x9c]
sub eax, dword [esp + 0x9c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call fcn.004b6070
sub esp, 8
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x2c]
test eax, eax
jle 0x4a91b9
mov ecx, dword [esp + 0x34]
movsx eax, byte [ecx + 0x11]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x60], 1
mov dword [esp], eax
call fcn.004b7450
sub esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
js 0x4a94e8
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x9c]
mov eax, dword [edx + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004b6130
sub esp, 8
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx + 0xc]
mov edx, eax
and edx, 0xb0
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x9c]
mov edx, dword [edx - 0xc]
add edx, dword [esp + 0x44]
test ah, 2
jne 0x4a93e5
xor eax, eax
add edx, eax
mov eax, edx
add eax, eax
mov dword [esp], eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x3c], edx
mov dword [esp + 0xa0], 0x4ee75c
mov dword [esp + 0x60], 2
call fcn.004b71e0
sub esp, 4
mov eax, dword [esp + 0xc8]
movsx edx, byte [esp + 0x4b]
mov dword [esp + 0x28], 1
mov eax, dword [eax + 8]
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x54], edx
setb byte [esp + 0x30]
cmp dword [esp + 0x4c], 0x10
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
sete al
sub ecx, dword [esp + 0x3c]
and byte [esp + 0x30], al
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x28]
movsx eax, byte [esp + edx + 0xa3]
cmp eax, 4
ja case.default.0x4a926c
jmp dword [eax*4 + 0x518370]
cmp dword [esp + 0x44], 1
jbe 0x4a92a6
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x60], 2
sub eax, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
add eax, 1
mov dword [esp], eax
call fcn.004b6130
sub esp, 8
mov edx, dword [esp + 0xa0]
mov eax, dword [edx - 0xc]
cmp dword [esp + 0x2c], eax
jbe 0x4a92fd
cmp dword [esp + 0x4c], 0x20
movsx edx, byte [esp + 0x4b]
je 0x4a9534
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov dword [esp], 0
mov dword [esp + 0x60], 2
sub ecx, eax
mov dword [esp + 4], ecx
lea ecx, [esp + 0xa0]
call fcn.004b6a50
sub esp, 0xc
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x4a]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x60], 2
mov byte [esp + 0x38], cl
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xac], ecx
lea ecx, [esp + 0xa8]
call fcn.004d3f10
sub esp, 8
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0xa0]
movzx edx, byte [esp + 0xac]
mov dword [esp + 0x30], eax
mov byte [esp + 0x4a], dl
call fcn.004b7b90
lea ecx, [esp + 0x9c]
call fcn.004b7b90
movzx eax, byte [esp + 0x4a]
mov ecx, dword [esp + 0xc8]
mov byte [esp + 0x38], al
lea eax, [esp + 0x5c]
mov dword [ecx + 8], 0
mov dword [esp], eax
call fcn.004762f0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
add esp, 0xb4
pop ebx
pop ebp
ret 0x14
movzx edx, byte [eax]
test byte [ecx + edx*2], 8
jne 0x4a9010
jmp 0x4a901b
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x24]
mov dword [esp + 0xa4], eax
mov eax, dword [edx + 0x28]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], eax
mov ebx, dword [edx - 0xc]
test ebx, ebx
je 0x4a9369
add edx, 1
mov dword [esp + 0x28], edx
jmp 0x4a8fe0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x18]
jmp 0x4a91e8
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x4a9592
cmp dword [esp + 0x28], 4
jne 0x4a942c
jmp 0x4a92a6
mov ecx, dword [esp + 0xc8]
test byte [ecx + 0xd], 2
jne 0x4a9568
cmp dword [esp + 0x28], 4
je 0x4a9273
add dword [esp + 0x28], 1
jmp 0x4a9257
lea eax, [esp + 0x9c]
mov dword [esp], eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x60], 2
call fcn.004b6230
sub esp, 4
jmp case.default.0x4a926c
cmp byte [esp + 0x30], 0
jne 0x4a948b
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x60], 2
mov dword [esp], eax
call fcn.004b7450
jmp 0x4a9454
cmp byte [esp + 0x30], 0
je case.default.0x4a926c
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x60], 2
mov dword [esp], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 4], edx
call fcn.004b63b0
sub esp, 8
jmp case.default.0x4a926c
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], 1
mov dword [esp + 4], ecx
lea ecx, [esp + 0x9c]
mov dword [esp], eax
call fcn.004b6510
sub esp, 8
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x2c]
jmp 0x4a9162
mov ecx, dword [esp + 0x34]
movsx eax, byte [ecx + 0x39]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x60], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
neg eax
mov dword [esp], eax
call fcn.004b63b0
sub esp, 8
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x9c]
mov edx, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004b6130
jmp 0x4a91b6
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x60], 2
sub edx, eax
mov dword [esp], edx
call fcn.004b63b0
sub esp, 8
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x2c]
jmp 0x4a92fd
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xa0]
mov eax, dword [edx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x60], 2
mov dword [esp], eax
call fcn.004b6130
jmp 0x4a94ae
mov ecx, dword [esp + 0x50]
movsx eax, byte [ecx]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x60], 2
mov dword [esp], eax
call fcn.004b7450
jmp 0x4a9454