Function at 0x4103f3
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 0xc
pop ecx
xor ebx, ebx
mov dword [ebp - 0x34], ecx
push ebx
lea eax, [ebp - 0x34]
mov dword [ebp - 4], ebx
push eax
push ecx
push 0x42
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x410428
test byte [ebp - 0x30], 1
je 0x410428
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x60
xor ebx, ebx
cmp edi, 0x60
push edi
push 0x80
setg bl
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push edi
push 0x10
mov dword [ebp - 0x28], eax
mov dword [0x428190], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp dword [ebp - 4], 0
mov esi, eax
mov dword [ebp - 0xc], esi
jne 0x4104a5
test ebx, ebx
je 0x4105d1
push 0x1020
xor eax, eax
push eax
push eax
push eax
lea eax, [ebx*4 + 0x67]
push eax
push dword [0x42d664]
call dword [sym.imp.USER32.dll_LoadImageW]
mov edx, eax
mov dword [ebp - 0x10], edx
jmp 0x4104c5
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [ebx*4 + 0x68]
push eax
push dword [0x42d664]
call dword [sym.imp.USER32.dll_LoadImageW]
mov edx, eax
mov dword [ebp - 0x10], eax
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
cdq
idiv ecx
mov dword [ebp - 0x14], esi
mov edi, eax
mov dword [ebp - 0x1c], ecx
imul edi, esi
xor esi, esi
push esi
mov dword [ebp - 8], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
mov ebx, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebp - 0xc]
mov esi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push esi
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov edi, dword [ebp - 0x18]
mov esi, eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
je 0x41057f
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xffffff
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xcc0020
push dword [ebp - 0x1c]
xor eax, eax
push dword [ebp - 0x20]
push eax
push eax
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
push eax
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18]
mov esi, eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x410616
push 0x1020
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x67
push dword [0x42d664]
call dword [sym.imp.USER32.dll_LoadImageW]
push 6
mov edx, eax
lea edi, [ebp - 0x4c]
pop ecx
xor eax, eax
mov dword [ebp - 4], edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
jmp 0x410618
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
push 0x14
push dword [ebp - 0x14]
push dword [ebp - 8]
push ecx
push ecx
push 0x24
push 0x428190
push eax
push ebx
push 0x24
push 0x64
push 0x50000300
push dword [ebp + 8]
call dword [sym.imp.COMCTL32.dll_CreateToolbarEx]
push ebx
push dword [0x42d664]
mov dword [0x42d650], eax
push 0xef
push dword [ebp + 8]
push 0x80
push dword [ebp - 0x28]
push ebx
push ebx
push 0x40000003
push 0x4018a0
push 0x401c2c
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
push dword [0x42d650]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_SetParent]
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0
mov esi, eax
push esi
push 0x30
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 8
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push esi
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], esi
cmp dword [0x42d698], ecx
jle 0x410782
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
and dword [ebp - 0x14], 0
push eax
mov eax, dword [0x42d694]
mov esi, dword [eax + ecx*4]
mov ecx, esi
call dword [0x42e3f4]
call esi
test eax, eax
js 0x410769
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 4]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x42e3f4]
mov ecx, edi
call esi
test eax, eax
js 0x410766
mov eax, dword [ebp - 4]
test eax, eax
jne 0x410719
mov eax, 0x401c40
push eax
push 0
push 0x143
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edi, dword [ebp - 0x10]
push eax
push dword [ebp - 4]
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x410755
mov eax, dword [ebp - 0x24]
add eax, 6
cmp dword [ebp - 0xc], eax
ja 0x410755
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x410769
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x410769
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [0x42d698]
jl 0x4106cf
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
push esi
push 0x160
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x42d6f0]
push 0x14e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 4