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

Disassembly:
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x55a561
push ebx
push edi
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x55a55f
push 0x5e86fc
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push 0x48
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
cmp eax, ebx
mov dword [esp + 0x28], eax
jne 0x55a13a
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebx
pop esi
add esp, 0x50
ret
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov dword [esp + 0x28], eax
call fcn.00522d40
add esp, 4
push ebx
push ebx
push ebx
mov dword [esp + 0x2c], eax
push ebx
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 1
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [esp + 0x64]
add ebx, 0x34
push ebp
lea ebx, [ebx]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x67
push esi
call ebp
lea ecx, [esp + 0x40]
push ecx
push 0x66
mov edi, eax
push esi
mov dword [esp + 0x1c], edi
call ebp
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea edx, [esp + 0x44]
push edx
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
cmp dword [ebx], 0
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
je 0x55a2b4
mov edi, dword [esp + 0x68]
mov esi, ebx
mov ecx, dword [ebx]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x64]
push 2
lea edx, [esp + 0x34]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
add ebp, 3
mov eax, edi
mov dword [esp + 0x30], ebp
lea ebp, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x55a210
push 0
push 0
sub eax, ebp
mov ebp, dword [esp + 0x28]
push 0
push eax
push edi
push ebp
call fcn.00522d60
mov edi, dword [esp + 0x3c]
push 0
push 0
push 0
push 2
sub eax, edi
push 0x5f0340
push ebp
mov dword [esp + 0x68], eax
call fcn.00522d60
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x78]
sub eax, edi
add ecx, eax
sub dword [esp + 0x6c], edx
mov eax, dword [esp + 0x60]
lea edi, [ecx + eax + 2]
add esp, 0x30
cmp edi, ebp
mov dword [esp + 0x38], ecx
jl 0x55a277
mov dword [esp + 0x18], 1
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x14]
push 0
push edi
push ecx
mov ecx, dword [ebx]
push edx
sub eax, ebp
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
add esi, 0x5c
lea ebp, [eax + edx]
cmp dword [esi], 0
lea edi, [esi - 0x34]
mov ebx, esi
jne 0x55a1e1
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x55a32d
test edi, edi
jne 0x55a2eb
mov ecx, dword [0x645320]
push edi
push ecx
push 0x67
push esi
push edi
push edi
push edi
push edi
push 0x50000000
push 0x5e6c98
push str.ScrollBar
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esp + 0x10], eax
mov edi, eax
mov edx, dword [esp + 0x34]
add edx, 0xfffffffc
push 0x15
mov dword [esp + 0x58], edx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
push 1
shl eax, 1
add edx, 3
push edx
push eax
sub ecx, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
inc ecx
push eax
push ecx
push edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x74], edx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x55a344
test edi, edi
je 0x55a338
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x55a367
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x55a53b
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + 0x58]
test eax, eax
jle 0x55a53b
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x34]
lea eax, [ecx + 0x34]
xor ebx, ebx
test edx, edx
mov dword [esp + 0x1c], 0
je 0x55a38b
nop
mov edx, dword [eax + 0x5c]
add eax, 0x5c
inc ebx
test edx, edx
jne 0x55a380
dec ebx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
js 0x55a3f1
mov eax, ebx
imul eax, eax, 0x5c
lea ebp, [eax + ecx + 0x34]
nop
mov edx, dword [ebp]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x34]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
add eax, 2
test edi, edi
jne 0x55a3e2
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jge 0x55a3f0
dec ebx
sub ebp, 0x5c
test ebx, ebx
jge 0x55a3a0
jmp 0x55a3f1
inc ebx
test ebx, ebx
jle 0x55a401
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x58], ebx
jle 0x55a401
mov dword [eax + 0x58], ebx
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x55a4d9
push 0
push 0
push 0x188
push 0x65
push esi
mov dword [esp + 0x80], 0
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x55a4d9
mov edx, dword [esp + 0x68]
cmp ebp, dword [edx + 0x58]
jle 0x55a4d2
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + 0x58]
mov edi, dword [esp + 0x40]
mov ecx, ebx
imul ecx, ecx, 0x5c
lea edx, [ecx + eax + 0x34]
mov dword [esp + 0x14], edx
lea ebx, [ebx]
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x55a4d9
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea edx, [esp + 0x34]
push edx
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
add edi, eax
cmp ebx, ebp
je 0x55a4a2
mov eax, dword [esp + 0x14]
inc ebx
add eax, 0x5c
mov dword [esp + 0x14], eax
jmp 0x55a460
mov eax, dword [esp + 0x10]
add edi, 2
test eax, eax
je 0x55a4bc
cmp edi, dword [esp + 0x50]
jl 0x55a4d9
mov eax, dword [esp + 0x68]
inc dword [eax + 0x58]
jmp 0x55a4c9
cmp edi, dword [esp + 0x48]
jl 0x55a4d9
mov eax, dword [esp + 0x68]
inc dword [eax + 0x58]
cmp ebp, dword [eax + 0x58]
jg 0x55a442
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x58], ebp
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x58]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
imul ecx, ecx, 0x5c
lea edx, [esp + 0x30]
push edx
mov edx, dword [ecx + eax + 0x34]
push edx
call edi
push 2
lea eax, [esp + 0x34]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [esp + 0x68]
mov edx, dword [ebx + 0x34]
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
add ebx, 0x34
push ecx
push edx
call edi
push 2
lea eax, [esp + 0x34]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
sub ebp, dword [esp + 0x30]
test ebp, ebp
mov dword [esp + 0x14], ebp
jg 0x55a180
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop edi
pop ebx
pop esi
add esp, 0x50
ret