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

Disassembly:
push 0xffffffffffffffff
push 0x57d8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0xac]
xor ebp, ebp
cmp eax, ebp
jne 0x5511ff
xor eax, eax
jmp 0x551202
mov eax, dword [eax + 4]
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x74]
call fcn.00555ae0
push 0xf
mov ecx, esi
mov dword [esp + 0xa8], ebp
call fcn.0052f790
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x74]
call fcn.00419533
mov ecx, esi
call fcn.00414fc6
and eax, 4
mov ebx, 0
setne bl
xor ecx, ecx
mov dword [esp + 0x24], eax
inc ebx
cmp eax, ebp
setne cl
add ecx, 3
mov dword [esp + 0x28], ecx
mov ecx, esi
call fcn.00530540
lea edx, [esp + 0x2c]
push edx
push ebp
mov edi, eax
push ebx
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.0052b0c0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub esp, 0x10
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov eax, esp
mov dword [esp + 0x30], ecx
xor ecx, ecx
xor edx, edx
push 0xe11
mov dword [eax], ecx
push edx
mov dword [eax + 4], edx
mov dword [eax + 8], ebp
push ebx
lea edx, [esp + 0x78]
mov dword [eax + 0xc], ecx
push edx
mov ecx, edi
call fcn.0052c220
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add dword [esp + 0x14], eax
add dword [esp + 0x18], ecx
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
sub dword [esp + 0x1c], edx
sub dword [esp + 0x20], eax
mov ecx, esi
call fcn.00414fc6
test al, 8
je 0x55141f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x30], ecx
lea ecx, [eax + eax]
mov dword [esp + 0x34], edx
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push 0x96b
push 0
push 0
mov ecx, edi
call fcn.0052c280
push 2
push 0x96c
push 0
push 0
mov ecx, edi
mov ebp, eax
call fcn.0052c280
mov esi, dword [esi + 0x1d4]
mov ecx, dword [esp + 0x2c]
add esi, ecx
mov ebx, eax
mov dword [esp + 0x14], esi
cmp ebp, 1
jne 0x5513c1
test ebx, ebx
jne 0x5513c1
mov edx, dword [esp + 0x34]
lea eax, [esi + 0x28]
cmp eax, edx
mov dword [esp + 0x1c], eax
jle 0x5513a4
sub eax, edx
mov edx, dword [esp + 0x20]
add eax, ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x2c]
push ebx
mov dword [esp + 0x60], edx
push ecx
lea edx, [esp + 0x78]
push edx
mov ecx, edi
call fcn.0052b0c0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.0052b0c0
jmp 0x5515c9
mov dword [esp + 0x24], 5
jmp 0x5513d4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
cmp esi, eax
jl 0x5513e2
mov esi, ecx
mov dword [esp + 0x14], esi
add esi, ebp
cmp esi, eax
mov dword [esp + 0x1c], esi
jle 0x5513f0
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.0052b0c0
sub dword [esp + 0x24], 1
mov ecx, dword [esp + 0x1c]
lea esi, [ecx + ebx]
mov dword [esp + 0x14], esi
jne 0x5513d0
jmp 0x5515c9
mov eax, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x44]
push edx
push 0
push 0x407
push eax
call ebp
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
push 0
push 0
push 0x408
push edx
mov dword [esp + 0x4c], ecx
call ebp
cmp dword [esp + 0x24], 0
mov ebp, eax
mov eax, 0x55555556
je 0x551472
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
sub ecx, dword [esp + 0x18]
sub edx, dword [esp + 0x2c]
jmp 0x551482
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
sub ecx, dword [esp + 0x14]
sub edx, dword [esp + 0x30]
add edx, edx
imul edx
mov eax, dword [esp + 0x3c]
sub ebx, eax
push ebx
sub ebp, eax
mov esi, edx
push ebp
shr esi, 0x1f
push ecx
add esi, edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
push 0x96b
push 0
push 0
mov ecx, edi
mov ebx, eax
call fcn.0052c280
push 2
push 0x96c
push 0
push 0
mov ecx, edi
mov esi, eax
call fcn.0052c280
mov ebp, eax
test esi, esi
jne 0x5514d2
mov esi, 1
jmp 0x5514d7
cmp esi, 1
jne 0x551514
test ebp, ebp
jne 0x551514
cmp dword [esp + 0x24], ebp
je 0x5514ed
mov eax, dword [esp + 0x20]
sub eax, ebx
mov dword [esp + 0x18], eax
jmp 0x5514f7
mov ecx, dword [esp + 0x14]
add ebx, ecx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
push 0
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
call fcn.0052b0c0
jmp 0x5515c9
lea edx, [ebx + ebp]
lea eax, [edx + esi - 1]
cdq
lea ecx, [esi + ebp]
idiv ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], eax
test eax, eax
jle 0x5515c9
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
lea ecx, [ecx]
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x551563
mov edx, dword [esp + 0x30]
mov ecx, eax
sub ecx, esi
cmp eax, edx
mov dword [esp + 0x18], ecx
jle 0x5515c9
cmp ecx, edx
jg 0x55157b
inc edx
mov dword [esp + 0x18], edx
jmp 0x55157b
mov eax, dword [esp + 0x34]
cmp ecx, eax
lea edx, [ecx + esi]
mov dword [esp + 0x1c], edx
jge 0x5515c9
cmp edx, eax
jl 0x55157b
dec eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
push 0
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
call fcn.0052b0c0
test ebx, ebx
je 0x5515a7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, ebp
mov dword [esp + 0x20], eax
jmp 0x5515b6
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea ecx, [edx + ebp]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x3c]
inc edx
cmp edx, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
jl 0x551540
lea ecx, [esp + 0x6c]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00555cf0
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 4