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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x43c
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x56ad3b
mov ebx, dword [0x6446a8]
cmp ebx, edi
je 0x56ad3b
cmp dword [ebx + 0xc04], eax
je 0x56a6d3
mov ebx, dword [ebx + 0xc98]
cmp ebx, edi
jne 0x56a6b6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x43c
ret
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x454]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x58]
push ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x30], esi
je 0x56a75d
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp eax, edi
mov dword [esp + 0x40], eax
je 0x56a750
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], eax
mov ebp, esi
jmp 0x56a75d
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esp + 0x30], edi
mov esi, edi
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x17
call edi
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x18
mov dword [esp + 0x64], eax
call edi
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x18
mov dword [esp + 0x60], eax
call edi
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
test edi, edi
je 0x56ac8a
push edi
lea edx, [esp + 0x14]
push edx
push ebp
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, 8
add ecx, edx
sub eax, 6
cmp ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jg 0x56ac8a
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
add eax, edx
sub edi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
mov eax, dword [ebx + 0x808]
test eax, eax
je 0x56a806
push 3
push 0
push 0
push 0x10
push 0x10
push eax
mov eax, dword [esp + 0x28]
push ecx
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawIconEx]
jmp 0x56a846
mov ecx, dword [0x645320]
push 0
push 0x10
push 0x10
push 1
push 1
push ecx
call dword [sym.imp.USER32.dll_LoadImageA]
mov edi, eax
test edi, edi
je 0x56a846
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 3
push 0
push 0
push 0x10
push 0x10
push edi
push edx
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawIconEx]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [ebx + 0xc54], eax
add eax, 0x10
mov dword [ebx + 0xc5c], eax
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0xc58], ecx
mov edx, dword [esp + 0x14]
add edx, 0x10
push ebx
push ebp
mov dword [ebx + 0xc60], edx
call fcn.0056a230
mov ecx, dword [ebx + 0xc54]
mov edx, dword [ebx + 0xc58]
lea edi, [ebx + 0xc6c]
mov eax, edi
mov dword [eax], ecx
mov ecx, dword [ebx + 0xc5c]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0xc60]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov edx, dword [edi]
mov ecx, dword [ebx + 0xc74]
mov eax, dword [ebx + 0xc90]
add edx, 0xfffffff0
add ecx, 0xfffffff0
add esp, 8
test eax, eax
mov dword [edi], edx
mov dword [ebx + 0xc74], ecx
je 0x56a8d2
push ebx
push ebp
call fcn.0056a5d0
add esp, 8
movzx ecx, byte [ebx + 0xc2d]
mov edx, dword [ebx + 0xc18]
lea eax, [ebx + 0xc34]
push eax
movzx eax, byte [ebx + 0xc2f]
push 0
push 0
push 0
push 0
push eax
push 0
push ecx
push 0
push 0x2bc
push 0
push 0
push 0
neg edx
push edx
call dword [sym.imp.GDI32.dll_CreateFontA]
test eax, eax
mov dword [esp + 0x38], eax
je 0x56ac8a
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
add eax, 0x15
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
mov eax, dword [edi]
sub eax, 5
mov dword [esp + 0x28], eax
add ecx, 4
lea eax, [ebx + 0x104]
lea esi, [esp + 0x64]
mov dword [esp + 0x24], ecx
sub esi, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x56a970
movzx ecx, byte [ebx + 0xc2f]
mov edx, dword [ebx + 0xc18]
push 1
push 1
push ecx
push 0x2bc
push edx
lea esi, [ebx + 0xc34]
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x80]
push ecx
push ebp
call fcn.0057c780
movzx edx, byte [ebx + 0xc2f]
add esp, 0x24
mov eax, dword [ebx + 0xc18]
push 0
push 0
push 1
push 0
push 2
push 1
push 0
push edx
mov edx, dword [esp + 0x44]
push 0x2bc
push eax
mov eax, dword [esp + 0x48]
push esi
push 0
push 0
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x68]
push ecx
push eax
lea edx, [esp + 0xb0]
push edx
push ebp
call fcn.00485c90
mov edx, dword [esp + 0x68]
add edx, 0x10
lea eax, [ebx + 0x208]
mov dword [esp + 0x68], edx
mov cl, byte [eax]
add esp, 0x54
test cl, cl
je 0x56ab05
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
add ecx, 0x15
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], ecx
mov ecx, dword [edi]
sub ecx, 5
add edx, 4
lea esi, [esp + 0x64]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x56aa61
movzx edx, byte [ebx + 0xc2f]
mov eax, dword [ebx + 0xc18]
push 1
push 1
push edx
push 0x2bc
push eax
lea esi, [ebx + 0xc34]
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x80]
push edx
push ebp
call fcn.0057c780
movzx eax, byte [ebx + 0xc2f]
add esp, 0x24
mov ecx, dword [ebx + 0xc18]
push 0
push 0
push 1
push 0
push 2
mov edi, dword [esp + 0x3c]
push 1
push 0
push eax
mov eax, dword [esp + 0x40]
push 0x2bc
push ecx
mov ecx, dword [esp + 0x4c]
push esi
push 0
push 0
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
push ecx
push eax
mov dword [edx + 4], ecx
lea eax, [esp + 0xb0]
mov dword [edx + 8], edi
mov edi, dword [esp + 0x78]
push eax
push ebp
mov dword [edx + 0xc], edi
call fcn.00485c90
mov eax, dword [esp + 0x68]
add esp, 0x54
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x3c]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x14]
push esi
push 0
push 0
push 0
push 0
add edx, 5
mov dword [esp + 0x28], edx
movzx eax, byte [ebx + 0xc2f]
movzx ecx, byte [ebx + 0xc2d]
mov edx, dword [ebx + 0xc18]
push eax
push 0
push ecx
push 0
push 0x190
push 0
push 0
push 0
neg edx
push edx
call dword [sym.imp.GDI32.dll_CreateFontA]
mov esi, eax
test esi, esi
mov dword [esp + 0x38], esi
je 0x56ac86
push esi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push 0x3e7
push ecx
mov dword [esp + 0x3c], eax
call fcn.00423a00
mov edx, dword [ebx + 0x6f4]
add esp, 8
test edx, edx
je 0x56ac05
lea esp, [esp]
mov eax, dword [edx]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56aba4
lea edi, [esp + 0x64]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x56abb2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x64]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x56abd0
mov ax, word [0x5ec434]
mov cl, byte [0x5ec436]
mov word [edi], ax
mov byte [edi + 2], cl
movzx eax, word [edx + 0x1e]
mov ecx, dword [esp + 0x34]
mov edx, dword [edx + 0x40]
test edx, edx
lea eax, [ecx + eax + 1]
mov dword [esp + 0x34], eax
jne 0x56aba0
mov esi, dword [esp + 0x38]
movzx ecx, byte [ebx + 0xc2f]
mov edx, dword [ebx + 0xc18]
push 0
push 0
push 1
push 0x40
push 2
mov edi, dword [esp + 0x2c]
push 1
push 0
push ecx
mov ecx, dword [esp + 0x34]
push 0x190
push edx
lea eax, [ebx + 0xc34]
push eax
mov eax, dword [esp + 0x3c]
push 0
push 0
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
push ecx
push eax
mov dword [edx + 4], ecx
lea eax, [esp + 0xb0]
mov dword [edx + 8], edi
mov edi, dword [esp + 0x68]
push eax
push ebp
mov dword [edx + 0xc], edi
call fcn.00485c90
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
add esp, 0x54
push edx
push ebp
mov dword [esp + 0x1c], ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x30]
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, eax
test edi, edi
je 0x56acde
mov eax, dword [ebx + 0xc04]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRgn]
test eax, eax
je 0x56acd7
mov ecx, dword [0x613704]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebx, eax
test ebx, ebx
je 0x56acd7
push 1
push 1
push ebx
push edi
push ebp
call dword [sym.imp.GDI32.dll_FrameRgn]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x60]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x5c]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x56ad3b
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push 0xcc0020
push 0
push 0
push esi
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x44]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x43c
ret