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

Disassembly:
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x70]
push ebp
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetDC]
xor ebp, ebp
push ebp
push ebp
push 0x1032
mov edi, eax
push ebx
mov dword [esp + 0x24], edi
or esi, 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], ebp
xor ecx, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x10]
xor edx, edx
xor eax, eax
test ebp, ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x7c], ecx
jle 0x52918b
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push esi
push 0x100c
push ebx
call ebp
mov esi, eax
lea eax, [esp + 0x68]
push eax
push esi
push 0x100e
push ebx
mov dword [esp + 0x78], 2
call ebp
lea ecx, [esp + 0x48]
push ecx
push esi
push 0x100e
push ebx
mov dword [esp + 0x58], 1
call ebp
mov ebp, dword [sym.imp.USER32.dll_UnionRect]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x60]
push ecx
call ebp
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x529143
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
call ebp
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
inc ebp
mov dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x10]
cmp dword [esp + 0x7c], ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
jl 0x5290c5
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x84]
sub ecx, ebp
push ecx
sub eax, edx
push eax
mov dword [esi], edx
mov dword [esi + 4], ebp
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
call esi
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebp, eax
sub ecx, dword [esp + 0x3c]
push ecx
sub edx, dword [esp + 0x3c]
push edx
push edi
mov dword [esp + 0x2c], ebp
call esi
push 0x404040
push 1
push 0
mov dword [esp + 0x90], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov edi, eax
call ebp
mov eax, dword [esp + 0x84]
push eax
push edi
call ebp
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call ebp
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x18]
push ecx
push esi
call ebp
push 7
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call ebp
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub ebp, eax
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x34]
sub edx, eax
mov eax, dword [esp + 0x3c]
sub ecx, eax
sub ebp, eax
push 4
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], ebp
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea edx, [esp + 0x2c]
push edx
mov ebp, dword [sym.imp.USER32.dll_FillRect]
push esi
call ebp
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
call ebp
mov eax, dword [esp + 0x10]
or ebp, 0xffffffff
test eax, eax
jle 0x5293eb
mov dword [esp + 0x7c], eax
lea ecx, [ecx]
push 2
push ebp
push 0x100c
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x48]
push ecx
mov ebp, eax
push ebp
push 0x100e
push ebx
mov dword [esp + 0x58], 2
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x28]
push edx
push ebp
push 0x100e
push ebx
mov dword [esp + 0x38], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x3c]
sub edx, ecx
push edx
mov edx, dword [esp + 0x34]
sub edx, eax
mov eax, dword [esp + 0x30]
push edx
sub eax, ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
sub eax, edx
add eax, ecx
mov ecx, dword [esp + 0x48]
push 0
push eax
sub ecx, dword [esp + 0x40]
push ecx
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
sub eax, edx
mov edx, dword [esp + 0x50]
add eax, ecx
push eax
sub edx, dword [esp + 0x3c]
push edx
push esi
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x3c]
sub edx, ecx
push edx
mov edx, dword [esp + 0x34]
sub edx, eax
mov eax, dword [esp + 0x30]
push edx
sub eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
sub eax, edx
add eax, ecx
mov ecx, dword [esp + 0x48]
push 0
push eax
sub ecx, dword [esp + 0x40]
push ecx
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
sub eax, edx
mov edx, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x38]
push eax
sub edx, ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_LineTo]
dec dword [esp + 0x7c]
jne 0x5292a0
mov eax, dword [esp + 0x14]
push 1
push 1
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x14]
push 1
push 1
push ecx
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebp
push esi
mov dword [esp + 0x84], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x7c]
push edx
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
push 1
push 1
sub eax, edx
push eax
sub ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov edx, dword [esp + 0x14]
push edx
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
mov ecx, dword [esp + 0x84]
push ecx
call esi
push ebp
call esi
mov edx, dword [esp + 0x7c]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0xc