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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x101badf4]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
mov esi, dword [ebp + 8]
mov edx, 0x53
push edi
mov dword [esp + 0x18], ecx
mov ecx, esi
push 0x101926b0
mov dword [esp + 0x18], esi
call fcn.00438813
lea eax, [esi - 1]
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, 0x4e1f
ja 0x4a8787
mov eax, dword [esi*4 + 0x101c81dc]
test eax, eax
jne 0x4a8789
xor eax, eax
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x4a87aa
mov edi, dword [esi]
push 2
push dword [edi]
call dword [0x10129538]
test eax, eax
je 0x4a87a3
mov dword [edi + 4], eax
mov dword [esi + 0x20], 1
mov esi, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x28], edi
mov ecx, dword [esi + 0x41c]
test ecx, ecx
js 0x4a87f9
mov esi, dword [esi + 0x418]
test ecx, ecx
js 0x4a87dc
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x4a87dc
mov eax, dword [edx + ecx*4]
jmp 0x4a87de
xor eax, eax
cmp dword [eax + 0x38], edi
je 0x4a87f5
cmp dword [eax + 0x34], edi
jne 0x4a87ef
sub ecx, 1
jns 0x4a87c4
jmp 0x4a87f5
mov edi, ecx
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0xfc]
sub eax, dword [esi + 0xec]
push dword [esi + 0x428]
sub eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x418]
push edi
mov dword [esp + 0x3c], eax
call fcn.0044c623
add eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
cmp edi, dword [esi + 0x420]
jg 0x4a8f64
mov ecx, dword [esi + 0x418]
test edi, edi
js 0x4a8852
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
sub eax, edx
sar eax, 2
cmp edi, eax
jae 0x4a8852
mov eax, dword [edx + edi*4]
jmp 0x4a8854
xor eax, eax
mov esi, dword [eax + 0x34]
mov dword [esp + 0x2c], eax
test esi, esi
je 0x4a8f1f
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x428]
mov dword [esp + 0x24], eax
test edi, edi
js 0x4a889e
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
sub eax, edx
sar eax, 2
cmp edi, eax
jae 0x4a889e
mov ecx, dword [edx + edi*4]
mov esi, dword [esp + 0x24]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov esi, dword [esi + 0x34]
mov esi, dword [esi + 8]
test esi, esi
je 0x4a8be2
lea edi, [esi - 1]
cmp edi, 0x4e1f
ja 0x4a88e0
mov edx, dword [esi*4 + 0x101c81dc]
test edx, edx
je 0x4a88e0
mov eax, dword [edx + 0x14]
xor ecx, ecx
mov edx, dword [edx + 0x18]
sub edx, eax
sar edx, 2
test edx, edx
jle 0x4a88e0
nop dword [eax]
cmp dword [eax], 0x58
je 0x4a88f5
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4a88d3
push esi
push 0x10194f60
push 0x1019259c
push 2
call fcn.00437cf3
add esp, 0x10
cmp edi, 0x4e1f
ja 0x4a8908
mov eax, dword [esi*4 + 0x101c81dc]
test eax, eax
jne 0x4a890a
xor eax, eax
mov esi, dword [eax + 0x24]
test esi, esi
je 0x4a8a6f
add eax, 0x54
lea edi, [esi - 1]
mov dword [esp + 0x30], eax
cmp dword [eax], 0
jle 0x4a89db
cmp edi, 0x4e1f
ja 0x4a8960
mov edx, dword [esi*4 + 0x101c81dc]
test edx, edx
je 0x4a8960
mov eax, dword [edx + 0x14]
xor ecx, ecx
mov edx, dword [edx + 0x18]
sub edx, eax
sar edx, 2
test edx, edx
jle 0x4a8960
nop dword [eax]
cmp dword [eax], 0x52
je 0x4a8975
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4a8953
push esi
push 0x10194d68
push 0x1019259c
push 2
call fcn.00437cf3
add esp, 0x10
cmp edi, 0x4e1f
ja 0x4a8988
mov esi, dword [esi*4 + 0x101c81dc]
test esi, esi
jne 0x4a898a
xor esi, esi
mov ecx, esi
call fcn.0046bd63
mov esi, dword [esi + 0x38]
test esi, esi
je 0x4a89c9
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
push dword [esi + 4]
call dword [0x10129504]
test eax, eax
je 0x4a89b5
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
cdq
idiv dword [ecx]
mov dword [esp + 0x20], eax
jmp 0x4a8a77
mov ecx, dword [esp + 0x30]
xor eax, eax
cdq
idiv dword [ecx]
mov dword [esp + 0x20], eax
jmp 0x4a8a77
cmp edi, 0x4e1f
ja 0x4a8a10
mov edx, dword [esi*4 + 0x101c81dc]
test edx, edx
je 0x4a8a10
mov eax, dword [edx + 0x14]
xor ecx, ecx
mov edx, dword [edx + 0x18]
sub edx, eax
sar edx, 2
test edx, edx
jle 0x4a8a10
nop dword [eax]
cmp dword [eax], 0x52
je 0x4a8a25
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4a8a03
push esi
push 0x10194d68
push 0x1019259c
push 2
call fcn.00437cf3
add esp, 0x10
cmp edi, 0x4e1f
ja 0x4a8a38
mov esi, dword [esi*4 + 0x101c81dc]
test esi, esi
jne 0x4a8a3a
xor esi, esi
mov ecx, esi
call fcn.0046bd63
mov esi, dword [esi + 0x38]
mov dword [esp + 0x20], 0
test esi, esi
je 0x4a8a77
lea eax, [esp + 0x20]
push eax
push dword [esi + 4]
call dword [0x10129504]
test eax, eax
je 0x4a8a65
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x4a8a77
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x34]
mov esi, dword [eax + 8]
lea edi, [esi - 1]
cmp edi, 0x4e1f
ja 0x4a8ab5
mov edx, dword [esi*4 + 0x101c81dc]
test edx, edx
je 0x4a8ab5
mov eax, dword [edx + 0x14]
xor ecx, ecx
mov edx, dword [edx + 0x18]
sub edx, eax
sar edx, 2
test edx, edx
jle 0x4a8ab5
cmp dword [eax], 0x58
je 0x4a8aca
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4a8aa8
push esi
push 0x10194f70
push 0x1019259c
push 2
call fcn.00437cf3
add esp, 0x10
cmp edi, 0x4e1f
ja 0x4a8add
mov eax, dword [esi*4 + 0x101c81dc]
test eax, eax
jne 0x4a8adf
xor eax, eax
mov esi, dword [eax + 0x24]
test esi, esi
je 0x4a8b7b
lea edi, [esi - 1]
cmp edi, 0x4e1f
ja 0x4a8b20
mov edx, dword [esi*4 + 0x101c81dc]
test edx, edx
je 0x4a8b20
mov eax, dword [edx + 0x14]
xor ecx, ecx
mov edx, dword [edx + 0x18]
sub edx, eax
sar edx, 2
test edx, edx
jle 0x4a8b20
nop
cmp dword [eax], 0x52
je 0x4a8b35
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4a8b13
push esi
push 0x10194d7c
push 0x1019259c
push 2
call fcn.00437cf3
add esp, 0x10
cmp edi, 0x4e1f
ja 0x4a8b48
mov esi, dword [esi*4 + 0x101c81dc]
test esi, esi
jne 0x4a8b4a
xor esi, esi
mov ecx, esi
call fcn.0046bd63
mov esi, dword [esi + 0x38]
test esi, esi
je 0x4a8b7b
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
push eax
push dword [esi + 4]
call dword [0x10129500]
test eax, eax
je 0x4a8b75
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x30]
jmp 0x4a8b7d
xor ecx, ecx
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 0x38]
test al, 1
je 0x4a8bc7
mov eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
push eax
mov eax, dword [ecx + 0xf4]
add eax, dword [ecx + 0xe4]
sub eax, dword [esp + 0x24]
sub eax, 0xa
push eax
mov eax, dword [edi + 0x34]
push dword [eax + 8]
push dword [esp + 0x20]
call fcn.0043c983
mov edi, dword [esp + 0x28]
jmp 0x4a8be6
test al, 2
je 0x4a8bc1
mov eax, esi
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x38]
add eax, 0xa
jmp 0x4a8bb1
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x38]
mov ecx, edx
and ecx, 8
lea eax, [edi + 1]
cmove eax, edi
mov edi, eax
mov eax, dword [esp + 0x1c]
add eax, esi
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x18]
test ecx, ecx
cmove eax, dword [esp + 0x1c]
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], ecx
cmp edi, dword [esi + 0x420]
jg 0x4a8f23
mov edi, dword [ebp + 0x10]
mov ecx, edx
and ecx, 4
mov dword [esp + 0x30], ecx
test dl, 2
je 0x4a8c4f
mov eax, dword [esi + 0x4a4]
mov edi, dword [esp + 0x34]
add eax, eax
sub edi, eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x34]
sub edi, dword [eax]
jmp 0x4a8c76
test ecx, ecx
je 0x4a8c76
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x34]
mov eax, dword [esp + 0x34]
sub eax, dword [ecx]
mov ecx, dword [esp + 0x30]
sub eax, edi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
sub edi, dword [esi + 0x4a4]
add edi, dword [ebp + 0x10]
test ecx, ecx
mov eax, 8
mov esi, 3
cmove esi, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x34]
mov eax, dword [esp + 0x1c]
sub eax, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x4a4]
mov eax, dword [edx]
lea ecx, [eax + ecx*2]
mov eax, dword [edx + 4]
mov edx, dword [edx + 0xc]
add eax, esi
add eax, dword [esp + 0x1c]
add ecx, edi
mov esi, dword [esp + 0x20]
test edx, edx
je 0x4a8ced
push 0
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
push edx
push dword [esp + 0x20]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ecx
call fcn.0043cc73
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
jmp 0x4a8f1f
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], ecx
lea esi, [eax - 1]
cmp esi, 0x4e1f
ja 0x4a8d39
mov edx, dword [eax*4 + 0x101c81dc]
test edx, edx
je 0x4a8d39
mov eax, dword [edx + 0x14]
xor ecx, ecx
mov edx, dword [edx + 0x18]
sub edx, eax
sar edx, 2
test edx, edx
jle 0x4a8d35
cmp dword [eax], 0x53
je 0x4a8d4e
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4a8d28
mov eax, dword [esp + 0x14]
push eax
push 0x10192618
push 0x1019259c
push 2
call fcn.00437cf3
add esp, 0x10
cmp esi, 0x4e1f
ja 0x4a8d65
mov eax, dword [esp + 0x14]
mov eax, dword [eax*4 + 0x101c81dc]
test eax, eax
jne 0x4a8d67
xor eax, eax
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x4a8dc3
mov ecx, dword [esi + 0x1c]
neg ecx
sbb ecx, ecx
add ecx, 0xff
mov edx, ecx
shl edx, 0x18
or edx, 0xe6e6e6
cmp dword [esi + 0x24], edx
je 0x4a8dd1
shl ecx, 8
movzx eax, dl
or ecx, eax
mov dword [esi + 0x24], edx
mov esi, dword [esi + 4]
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ecx, 0x10
or ecx, eax
movzx eax, dx
and eax, 0xffffff00
or ecx, eax
push ecx
push dword [esi + 4]
call dword [0x101294cc]
test eax, eax
je 0x4a8dd1
mov dword [esi + 8], eax
jmp 0x4a8dd1
push 0xe6e6e6
push dword [eax + 0x24]
call dword [0x10129074]
mov eax, dword [esp + 0x14]
lea esi, [eax - 1]
cmp esi, 0x4e1f
ja 0x4a8e14
mov edx, dword [eax*4 + 0x101c81dc]
test edx, edx
je 0x4a8e14
mov eax, dword [edx + 0x14]
xor ecx, ecx
mov edx, dword [edx + 0x18]
sub edx, eax
sar edx, 2
test edx, edx
jle 0x4a8e10
nop dword [eax]
cmp dword [eax], 0x53
je 0x4a8e29
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4a8e03
mov eax, dword [esp + 0x14]
push eax
push 0x101927c8
push 0x1019259c
push 2
call fcn.00437cf3
add esp, 0x10
cmp esi, 0x4e1f
mov esi, dword [esp + 0x14]
ja 0x4a8e40
mov edx, dword [esi*4 + 0x101c81dc]
test edx, edx
jne 0x4a8e42
xor edx, edx
mov ecx, dword [edx + 0x28]
mov eax, edi
movaps xmm0, xmmword [esp + 0x50]
sub eax, ecx
movaps xmmword [esp + 0x60], xmm0
sub dword [esp + 0x68], ecx
mov ecx, dword [edx + 0x4c]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0x2c]
sub dword [esp + 0x64], eax
sub dword [esp + 0x6c], eax
test ecx, ecx
je 0x4a8e7b
push 8
push 8
lea eax, [esp + 0x68]
push eax
call fcn.0043e413
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x38]
test al, 1
je 0x4a8ec9
mov ecx, dword [esp + 0x20]
lea eax, [edi - 8]
mov dword [esp + 0x60], eax
push 3
mov dword [esp + 0x6c], edi
lea eax, [ecx + 7]
mov dword [esp + 0x74], edi
mov dword [esp + 0x68], eax
lea eax, [ecx + 0xa]
mov dword [esp + 0x70], eax
lea eax, [ecx + 0x12]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
push eax
push esi
call fcn.0043c743
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
jmp 0x4a8f1f
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov edi, esi
mov dword [esp + 0x1c], ecx
test al, 2
je 0x4a8f1f
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push 3
mov dword [esp + 0x6c], edx
lea eax, [edx + 8]
mov dword [esp + 0x74], edx
mov dword [esp + 0x64], eax
lea eax, [ecx + 7]
mov dword [esp + 0x68], eax
lea eax, [ecx + 0xa]
mov dword [esp + 0x70], eax
lea eax, [ecx + 0x12]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x1c]
call fcn.0043c743
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0x428]
test edi, edi
js 0x4a8f4f
mov eax, dword [esi + 0x418]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4a8f4f
mov ecx, dword [ecx + edi*4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov edx, eax
add dword [esp + 0x1c], edx
inc edi
mov dword [esp + 0x28], edi
cmp edi, dword [esi + 0x420]
jle 0x4a8834
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
cmp edi, 0x4e1f
ja 0x4a8fa0
mov edx, dword [esi*4 + 0x101c81dc]
test edx, edx
je 0x4a8fa0
mov eax, dword [edx + 0x14]
xor ecx, ecx
mov edx, dword [edx + 0x18]
sub edx, eax
sar edx, 2
test edx, edx
jle 0x4a8fa0
nop dword [eax]
cmp dword [eax], 0x53
je 0x4a8fb5
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4a8f93
push esi
push 0x101926b0
push 0x1019259c
push 2
call fcn.00437cf3
add esp, 0x10
cmp edi, 0x4e1f
ja 0x4a8fc8
mov eax, dword [esi*4 + 0x101c81dc]
test eax, eax
jne 0x4a8fca
xor eax, eax
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x4a8feb
mov edi, dword [esi]
push 0
push dword [edi]
call dword [0x10129538]
test eax, eax
je 0x4a8fe4
mov dword [edi + 4], eax
mov dword [esi + 0x20], 0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.0050d7a4
mov esp, ebp
pop ebp
ret 0x10