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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x64e0a0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 0x20]
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00429fbe
mov ecx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], 0
call fcn.0042c367
mov ecx, ebx
call fcn.00594000
mov ecx, dword [0x65bd7c]
call fcn.00595300
lea edi, [ebx + 0x1148]
mov byte [ebx + 0x1144], al
push 0xfaf4f0
mov dword [esp + 0x18], edi
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0xfaf4f0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [edi + 0x80]
call fcn.00429d75
sub esp, 8
mov dword [edi + 0x74], 0xffffffff
cmp byte [0x650a55], 0
lea ecx, [edi + 0x88]
push 0x190
jne 0x573d00
push 0xa
jmp 0x573d02
push 0xd
call fcn.005940a0
mov eax, dword [edi + 0x88]
add esp, 0x10
test eax, eax
je 0x573d17
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x11d0]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x573d4b
mov edx, dword [esp + 0xc]
push ecx
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x28]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x10]
push 1
push 0x60efdc
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push 0x60efe0
add ebx, 0x94
push 0x800
push ebx
call fcn.00543349
add esp, 0xc
mov esi, 0x65be68
mov edi, dword [esi]
mov ecx, ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x573d90
sub ecx, edx
mov edx, edi
sar ecx, 1
lea eax, [edx + 2]
mov dword [esp + 0x20], eax
jmp 0x573db0
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x573db0
sub edx, dword [esp + 0x20]
lea eax, [ecx + 1]
sar edx, 1
cmp eax, 0x800
jae 0x573e0e
lea eax, [ecx + 1]
add eax, edx
cmp eax, 0x800
ja 0x573de8
push edi
push 0x800
push ebx
call fcn.0054640f
add esp, 0xc
jmp 0x573e0e
mov eax, 0x7ff
sub eax, ecx
push eax
mov eax, 0x800
sub eax, ecx
push edi
push eax
lea eax, [ebx + ecx*2]
push eax
call fcn.00543d6d
add esp, 0x10
xor eax, eax
mov word [ebx + 0xffe], ax
mov edi, dword [esp + 0x1c]
mov ecx, dword [esi]
mov edx, dword [edi + 0x11d0]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10]
call fcn.00590e90
add esp, 8
cmp eax, dword [esp + 0x10]
jbe 0x573e35
mov dword [esp + 0x10], eax
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x573e40
sub eax, edx
sar eax, 1
lea ecx, [eax + 1]
cmp ecx, 0x800
jae 0x573ea4
lea ecx, [eax + 2]
cmp ecx, 0x800
ja 0x573e7a
push 0x60efe4
push 0x800
push ebx
call fcn.0054640f
add esp, 0xc
jmp 0x573ea4
mov ecx, 0x7ff
sub ecx, eax
push ecx
mov ecx, 0x800
sub ecx, eax
push 0x60efe4
push ecx
lea eax, [ebx + eax*2]
push eax
call fcn.00543d6d
add esp, 0x10
xor eax, eax
mov word [ebx + 0xffe], ax
add esi, 4
cmp esi, 0x65be90
jle 0x573d82
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x34]
push eax
push dword [edi + 0x20]
call ebx
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
imul eax, esi
push 0x204
add eax, 3
push eax
push dword [esp + 0x18]
push 0xa
push 0xd
push 0
call fcn.00428c97
push 0x206
push 0x1e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [esi + 6]
imul ecx, dword [esp + 0x2c]
add eax, ecx
push eax
mov eax, dword [esp + 0x18]
add eax, 0x1c
push eax
push 0
push 0
push 0
mov ecx, edi
call fcn.00428c97
mov eax, dword [esp + 0xc]
push dword [eax + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [edi + 0x94]
push eax
lea ecx, [edi + 0x1148]
call fcn.00428cd3
push 0x42e
mov ecx, edi
call fcn.004283e2
mov esi, eax
lea eax, [esp + 0x44]
push eax
push dword [edi + 0x20]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x24]
push eax
push dword [esi + 0x20]
call ebx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0042a377
lea eax, [edi + 0x109c]
push 1
lea edx, [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.005b47e0
mov ecx, dword [esp + 0x58]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret