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

Disassembly:
push 0xffffffffffffffff
push 0x556b08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], esi
call fcn.00477df0
mov ecx, dword [esp + 0x9c]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x6c], ebx
jne 0x4a48c6
push ebx
push ebx
lea eax, [esp + 0x44]
push ebx
push eax
mov ecx, esi
call fcn.00481820
lea ecx, [esp + 0x3c]
mov dword [esp + 0x9c], ecx
mov eax, dword [ecx + 0x10]
mov edi, eax
shr edi, 6
cmp edi, ebx
jle 0x4a4995
cmp eax, ebx
jne 0x4a48de
xor esi, esi
jmp 0x4a48e1
mov esi, dword [ecx + 8]
mov eax, dword [esp + 0x74]
mov edx, edi
shl edx, 6
mov ecx, dword [eax + 4]
cmp ecx, dword [edx + esi - 0x28]
jge 0x4a4995
mov edx, dword [0x5ada84]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 1
call fcn.005270ca
cmp edi, ebx
mov byte [esp + 0x6c], 2
jle 0x4a4979
lea eax, [esi + 0xc]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x34], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x38], ecx
mov ebp, dword [esi + 0x1c]
sub eax, ebp
mov dword [esp + 0x30], eax
mov ebp, dword [esi]
push ebp
call fcn.004ae9a0
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
add esp, 4
test eax, eax
jne 0x4a4971
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4a49c5
inc ebx
add esi, 0x40
cmp ebx, edi
jl 0x4a4918
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 1
call fcn.005270fd
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0
call fcn.0052801f
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x3c], 0x55f890
call fcn.00477ff0
xor eax, eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x2c
cmp ebp, 0x353
je 0x4a49df
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x14]
push edx
push esi
call fcn.0049bd20
mov eax, dword [esp + 0x20]
mov edi, dword [0x5b15cc]
cmp eax, 1
je 0x4a4a00
cmp eax, 7
jne 0x4a4979
cmp ebp, 0x353
je 0x4a4a08
jmp 0x4a4979
cmp ebp, 0x353
jne 0x4a4a0f
mov ecx, 2
jmp 0x4a4a11
mov ecx, edi
mov ebx, dword [esp + 0x74]
mov eax, dword [ebx]
mov edx, eax
sub edx, ecx
mov ecx, edx
mov edx, dword [esp + 0x2c]
sub ecx, edx
jns 0x4a4a29
xor eax, eax
jmp 0x4a4a3c
cmp ebp, 0x353
mov ecx, 2
je 0x4a4a38
mov ecx, edi
sub eax, ecx
sub eax, edx
cdq
idiv edi
mov edx, dword [0x5b15d0]
lea ecx, [edx + 1]
mov edi, eax
mov eax, dword [ebx + 4]
mov ebx, dword [esp + 0x30]
sub eax, ebx
mov ebx, dword [esi + 0x20]
dec eax
cdq
idiv ecx
mov edx, dword [esp + 0x9c]
lea ecx, [esp + 0x98]
push edx
push ecx
lea edx, [esp + 0x58]
lea ecx, [esp + 0x18]
push edx
push ecx
mov ecx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esi + 0x24]
push eax
push ebx
mov dword [esp + 0x8c], eax
call fcn.0049af40
test eax, eax
je 0x4a4979
mov eax, dword [esp + 0x58]
cmp ebp, eax
jl 0x4a4a9e
lea ebp, [eax - 1]
mov eax, dword [esp + 0x54]
cmp edi, dword [eax + ebp*4]
jge 0x4a4979
test ebp, ebp
jle 0x4a4ab9
mov ecx, dword [eax]
add eax, 4
add edi, ecx
dec ebp
jne 0x4a4aaf
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x98]
mov ebp, dword [esp + 0x14]
push 1
push edx
push eax
push edi
mov ecx, ebp
call fcn.0049b480
mov ecx, dword [esp + 0x98]
mov edi, eax
test ecx, ecx
jle 0x4a4b2d
cmp edi, ecx
jl 0x4a4979
mov edx, dword [esp + 0x10]
sub edi, ecx
mov eax, dword [edx - 8]
sub eax, ecx
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.005243f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 3
call fcn.00528158
lea ecx, [esp + 0x9c]
mov byte [esp + 0x6c], 2
call fcn.0052801f
mov ecx, dword [esp + 0x98]
cmp ebx, dword [ebp + 0x74]
jne 0x4a4b6f
mov edx, dword [esp + 0x74]
mov eax, dword [ebp + 0x78]
cmp edx, eax
jne 0x4a4b6f
push ecx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, ebp
call fcn.004b2340
test eax, eax
je 0x4a4b6f
mov ecx, dword [esp + 0x24]
cmp edi, ecx
jl 0x4a4b6f
mov eax, dword [esp + 0x28]
cmp edi, eax
jge 0x4a4b6f
sub eax, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x4a4b91
lea edx, [esp + 0x1c]
push 1
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.004a4ce0
add esp, 0x14
test eax, eax
je 0x4a4979
mov ecx, esi
call fcn.0049a8c0
mov edi, dword [esp + 0x90]
mov ebx, eax
test edi, edi
je 0x4a4bba
push ebx
mov ecx, ebp
call fcn.004a8980
test eax, eax
je 0x4a4bb6
mov eax, dword [esi + 0x2c]
jmp 0x4a4bb8
xor eax, eax
mov dword [edi], eax
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a4bca
mov edx, dword [esi + 8]
mov dword [eax], edx
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4a4bdb
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4a4be8
mov dword [eax], ebx
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x4a4bfa
lea edx, [esp + 0x10]
push edx
call fcn.00528158
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x4a4c0b
mov dword [ecx], eax
mov esi, dword [esp + 0x78]
test esi, esi
je 0x4a4c4c
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x9c]
push ecx
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.0052435a
push eax
mov ecx, esi
mov byte [esp + 0x70], 4
call fcn.00528158
lea ecx, [esp + 0x9c]
mov byte [esp + 0x6c], 2
call fcn.0052801f
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x94]
test esi, esi
je 0x4a4c98
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add eax, ecx
mov cl, byte [eax + edx]
add eax, edx
cmp cl, 0x20
jne 0x4a4c74
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x4a4c6b
mov cl, byte [eax]
cmp cl, 0x28
je 0x4a4c91
test cl, cl
je 0x4a4c8d
xor edx, edx
mov dh, cl
mov dl, byte [eax + 1]
cmp dx, 0xa3a8
je 0x4a4c91
xor eax, eax
jmp 0x4a4c96
mov eax, 1
mov dword [esi], eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 1
call fcn.005270fd
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0
call fcn.0052801f
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x3c], 0x55f890
call fcn.00477ff0
mov eax, 1
jmp 0x4a49b0