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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x478
mov eax, dword [0x56617c]
xor eax, esp
mov dword [esp + 0x474], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x28], edi
call fcn.004260b0
xor ecx, ecx
mov byte [esp + 0x17], al
call fcn.00426180
mov ecx, dword [esi + 0x170]
push 1
push 0
add ecx, 0x130
push 0x2d0
push 0x500
push 0
mov edx, dword [ecx]
push 0
call dword [edx + 0xe0]
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x18c], 0
mov eax, dword [ecx + 0x14]
add ecx, 0x18
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
call fcn.004310a0
mov edx, dword [esi + 0x8c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x5c]
push eax
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x60], ecx
lea ecx, [edx + 0x18]
call fcn.004310a0
lea edi, [edi + edi*4]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 3
sub ecx, edi
cmp ecx, 5
jle 0x4a9062
mov ecx, 5
jmp 0x4a9086
mov ecx, dword [esi + 0x8c]
mov eax, dword [ecx + 0x14]
add ecx, 0x18
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
call fcn.004310a0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 3
sub ecx, edi
mov dword [esi + 0x17c], ecx
lea ecx, [esp + 0x54]
call fcn.004ea7d0
mov eax, dword [eax + 4]
sub eax, 0xe1
cmp dword [esi + 0x174], 0
je 0x4a90ad
add eax, 0xfffffe10
jmp 0x4a90b6
imul ecx, dword [esi + 0x17c], 0x54
sub eax, ecx
cdq
mov ecx, esi
sub eax, edx
sar eax, 1
mov dword [esi + 0x194], eax
mov eax, dword [esi + 0x90]
mov edx, dword [esi]
mov eax, dword [eax + 0x3c]
push dword [eax + 0xfc0]
mov eax, dword [edx + 0xec]
call eax
test eax, eax
je 0x4a90e7
add eax, 0x130
jmp 0x4a90e9
xor eax, eax
mov edi, dword [eax]
mov ecx, eax
push 1
push 0
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x28]
push 0x1a4
call eax
mov ecx, dword [esp + 0x24]
push eax
push 0xdc
push 0
call dword [edi + 0xe0]
mov eax, dword [esi + 0x194]
lea edi, [esi + 0x1a8]
cmp dword [esi + 0x174], 0
mov dword [esp + 0x1c], 0
lea ecx, [eax + 0x54]
cmove ecx, eax
cmp dword [esi + 0x17c], 0
mov dword [esp + 0x10], ecx
jle 0x4a93d5
mov eax, dword [esp + 0x28]
lea ecx, [eax + eax*4]
shl ecx, 3
mov edx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edx
nop word [eax + eax]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov edx, dword [eax + edx + 4]
mov ecx, dword [eax + ecx]
mov eax, dword [esi + 0x90]
mov dword [esp + 0x54], edx
imul edx, edx, 0x4c
push ecx
mov eax, dword [eax + 0x48]
mov ecx, esi
mov dword [esp + 0x60], edx
cmp dword [eax + edx + 0xbe4], 0
mov eax, dword [esi]
jne 0x4a91a5
mov eax, dword [eax + 0xa8]
call eax
shr eax, 1
mov ecx, eax
shl ecx, 4
sub ecx, eax
add ecx, ecx
jmp 0x4a91d8
call dword [eax + 0xa0]
mov eax, dword [esp + 0x54]
add eax, 0x28
imul ecx, eax, 0x4c
mov eax, dword [esi + 0x90]
add ecx, dword [eax + 0x48]
movzx eax, word [ecx + 4]
mov ecx, dword [esi + 0x88]
push eax
mov ecx, dword [ecx + 0x58]
call fcn.00493e80
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov eax, dword [esi + 0x188]
sub eax, ecx
mov ecx, dword [esi + 0x90]
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
mov ecx, dword [ecx + 0x3c]
movzx eax, ax
mov dword [ecx + 0xedc], eax
mov dword [ecx + 0xed8], 0
mov eax, dword [esi + 0x90]
mov ecx, dword [eax + 0x3c]
imul eax, dword [esp + 0x1c], 0x4c
mov dword [ecx + 0xf24], 0
add eax, 0xf3
movzx eax, ax
mov dword [ecx + 0xf28], eax
mov eax, dword [esi + 0x90]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x3c]
mov dword [eax + 0xe8c], 0
mov dword [eax + 0xe90], 0x2d0
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 0x3c]
mov dword [eax + 0x9cc], 0
mov dword [eax + 0x9d0], 0xffffff
mov eax, dword [edx]
mov dword [esp + 0x54], eax
mov ecx, dword [eax + ecx + 4]
mov eax, dword [esi + 0x23c]
cmp byte [ecx + eax], 0
jne 0x4a92a0
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 0x3c]
mov dword [eax + 0x9cc], 0
mov dword [eax + 0x9d0], 0x808080
mov ecx, dword [edx]
jmp 0x4a92a4
mov ecx, dword [esp + 0x54]
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
mov eax, dword [esp + 0x24]
mov eax, dword [ecx + eax]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x90]
push dword [esp + 0x20]
mov eax, dword [eax + 0x48]
cmp dword [eax + ecx + 0xbe4], 0
mov ecx, esi
jne 0x4a92d8
call edx
jmp 0x4a92fe
call edx
mov eax, dword [esi + 0x90]
mov ecx, dword [esp + 0x5c]
mov eax, dword [eax + 0x48]
movzx eax, word [eax + ecx + 0xbe4]
mov ecx, dword [esi + 0x88]
push eax
mov ecx, dword [ecx + 0x58]
call fcn.004935f0
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x190]
mov eax, dword [esi + 0x188]
add eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
lea eax, [edx + 0x4c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x68], edx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x4a9358
movups xmm0, xmmword [esp + 0x30]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x10], eax
add dword [edi + 4], 0x14
jmp 0x4a9365
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, edi
call fcn.0041a550
movups xmm0, xmmword [esp + 0x60]
push 0
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [esp + 0x30]
movups xmmword [eax], xmm0
call fcn.004a96b0
test eax, eax
je 0x4a968c
mov edx, dword [esi + 0x17c]
xor ecx, ecx
lea eax, [edx - 1]
cmp dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
setne cl
add dword [esp + 0x18], 8
add dword [esp + 0x24], 8
inc dword [esi + 0x18c]
lea ecx, [ecx*8 + 0x4c]
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x10], eax
cmp ecx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
jl 0x4a9160
jmp 0x4a93db
mov dword [esp + 0x10], ecx
mov eax, ecx
cmp dword [esp + 0x28], 0
je 0x4a9506
mov ecx, dword [esi + 0x190]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x188]
add eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
add eax, 0x4c
mov dword [esp + 0x30], 5
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x4a9440
movups xmm0, xmmword [esp + 0x30]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x10], eax
add dword [edi + 4], 0x14
jmp 0x4a944d
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, edi
call fcn.0041a550
push 0x3fd
lea eax, [esp + 0x7f]
push 0
push eax
call fcn.005001b0
mov ax, word [0x54669c]
add esp, 0xc
mov ecx, dword [esi + 0x90]
mov word [esp + 0x78], ax
mov al, byte [0x54669e]
mov byte [esp + 0x7a], al
mov ecx, dword [ecx + 0x3c]
mov eax, dword [esi + 0x188]
sub eax, 0x1e
cdq
mov dword [ecx + 0x9cc], 0
sub eax, edx
mov dword [ecx + 0x9d0], 0xffffff
mov ecx, dword [esi + 0x90]
sar eax, 1
movzx eax, ax
mov ecx, dword [ecx + 0x3c]
mov dword [ecx + 0xed8], 0
mov dword [ecx + 0xedc], eax
lea ecx, [esp + 0x78]
mov eax, dword [esi + 0x90]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
mov dword [eax + 0xf24], 0
mov dword [eax + 0xf28], 0x193
mov eax, dword [esi]
call dword [eax + 0xa0]
movups xmm0, xmmword [esp + 0x60]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push 0
movups xmmword [eax], xmm0
call fcn.004a97f0
test eax, eax
je 0x4a968c
mov eax, dword [esp + 0x28]
cmp dword [esi + 0x174], eax
jle 0x4a9639
mov ecx, dword [esi + 0x190]
mov eax, dword [esi + 0x188]
mov edx, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x68], eax
add edx, 8
lea eax, [esp + 0x60]
mov dword [esp + 0x64], edx
push eax
add edx, 0x4c
mov dword [esp + 0x64], ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x14], edx
push eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x38], 6
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x4a9577
movups xmm0, xmmword [esp + 0x30]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x10], eax
add dword [edi + 4], 0x14
jmp 0x4a9584
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, edi
call fcn.0041a550
push 0x3fd
lea eax, [esp + 0x7f]
push 0
push eax
call fcn.005001b0
mov ax, word [0x5466a0]
add esp, 0xc
mov ecx, dword [esi + 0x90]
mov word [esp + 0x78], ax
mov al, byte [0x5466a2]
mov byte [esp + 0x7a], al
mov ecx, dword [ecx + 0x3c]
mov eax, dword [esi + 0x188]
sub eax, 0x1e
cdq
mov dword [ecx + 0x9cc], 0
sub eax, edx
mov dword [ecx + 0x9d0], 0xffffff
mov ecx, dword [esi + 0x90]
sar eax, 1
movzx eax, ax
mov ecx, dword [ecx + 0x3c]
mov dword [ecx + 0xed8], 0
mov dword [ecx + 0xedc], eax
lea ecx, [esp + 0x78]
mov eax, dword [esi + 0x90]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
mov dword [eax + 0xf24], 0
mov dword [eax + 0xf28], 0x1df
mov eax, dword [esi]
call dword [eax + 0xa0]
movups xmm0, xmmword [esp + 0x60]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push 0
movups xmmword [eax], xmm0
call fcn.004a98b0
test eax, eax
je 0x4a968c
mov eax, dword [esi + 0x18c]
mov ecx, dword [esi + 0x190]
mov edx, dword [esi + 0x194]
mov edi, dword [esp + 0x10]
mov dword [esi + 0x17c], eax
mov eax, dword [esi + 0x188]
add eax, ecx
mov dword [esp + 0x60], ecx
movzx ecx, byte [esp + 0x17]
mov dword [esp + 0x68], eax
lea eax, [edx + edi]
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], eax
movups xmm0, xmmword [esp + 0x60]
mov dword [esi + 0x18c], edi
movups xmmword [esi + 0x198], xmm0
call fcn.00426180
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
xor ecx, esp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 4