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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fe458
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 0x1dd8]
test eax, eax
je 0x41890b
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x1dd4], edi
cmp edi, 1
jne 0x418928
cmp dword [ebx + 0x1dcc], 0
je 0x418928
push edi
lea ecx, [ebx + 0x1698]
jmp 0x418972
mov eax, dword [ebx + 0x1c4c]
lea esi, [ebx + 0x1698]
test eax, eax
je 0x418961
mov eax, dword [esi + 0x20]
mov dword [esi + 0x5b4], 0
test eax, eax
je 0x418959
push 0x105
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esi + 0x5b4]
jmp 0x418967
mov edx, dword [esi + 0x5b4]
mov ecx, ebx
call fcn.0041a620
push 0
mov ecx, esi
call fcn.004ef35a
mov esi, dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov eax, edi
sub eax, 0
mov edi, dword [sym.imp.USER32.dll_SetWindowRgn]
je 0x4189fc
sub eax, 1
jne 0x418a51
lea eax, [esp + 0x14]
push eax
call fcn.0041a980
mov dword [esp + 0x78], 1
push 4
push 4
push 0x43
push 0xf0
push 0
push 0
call esi
push eax
lea ecx, [esp + 0x18]
call fcn.004ef4aa
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x20]
push 1
push ecx
push edx
call edi
push 1
mov ecx, ebx
call fcn.004ef35a
lea ecx, [ebx + 0x1a4]
push 1
call fcn.004ef35a
lea ecx, [ebx + 0x1a4]
call fcn.004ef36c
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x418a4c
push 0
lea ecx, [ebx + 0x1a4]
call fcn.004ef35a
lea eax, [esp + 0x1c]
push eax
call fcn.0041a980
mov dword [esp + 0x78], 0
push 4
push 4
push 0x43
push 0x6b
push 0x20
push 0
call esi
push eax
lea ecx, [esp + 0x20]
call fcn.004ef4aa
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx + 0x20]
push 1
push ecx
push edx
call edi
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0041a8d0
mov eax, dword [ebx + 0x1dd4]
test al, 0xf0
je 0x418bb6
lea ecx, [esp + 0x24]
push ecx
call fcn.0041a980
mov dword [esp + 0x78], 2
push 4
push 4
push 0x43
push 0x6b
push 0x20
push 0
call esi
push eax
lea ecx, [esp + 0x28]
call fcn.004ef4aa
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x20]
push 1
push edx
push eax
call edi
cmp dword [ebx + 0x1d7c], 0
lea edi, [ebx + 0x1d78]
mov dword [edi], 0
je 0x418ab1
push edi
call fcn.004410a0
push 0
lea ecx, [ebx + 0x1a4]
call fcn.004ef35a
lea esi, [esp + 0x3c]
call fcn.00441020
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x44]
mov edi, edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ecx
lea esi, [esp + 0x6c]
mov dword [eax + 0xc], edx
call fcn.0041a380
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0x1dd4]
add ecx, 0xfffffff0
cmp ecx, 0x70
ja case.0x418b29.17
movzx ecx, byte [ecx + 0x418c14]
jmp dword [ecx*4 + 0x418c00]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
lea ecx, [edx + eax + 6]
mov dword [esp + 0x10], ecx
jmp case.0x418b29.17
mov edx, dword [esp + 0x54]
add edx, 0xfffffffa
mov dword [esp + 0x10], edx
jmp case.0x418b29.17
sub esi, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
lea edi, [esi + eax + 6]
jmp case.0x418b29.17
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
lea edi, [eax + ecx - 6]
mov edx, dword [esp + 0x10]
push 0x15
push 0
push 0
push edi
push edx
push 0
mov ecx, ebx
call fcn.004ef34e
mov eax, dword [ebx + 0x1dd0]
test eax, eax
je 0x418ba3
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x418ba3
mov ecx, dword [ebx + 0x1dd0]
push 0
call fcn.004ef35a
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0041a8d0
jmp 0x418bd1
cmp dword [ebx + 0x1d7c], 0
lea eax, [ebx + 0x1d78]
mov dword [eax], 1
je 0x418bd1
push eax
call fcn.004410a0
mov ecx, dword [ebx + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, ebx
call fcn.004199b0
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret