Function at 0x434fc0
Capabilities:
Hide graphical window

Disassembly:
cmp byte [0x521760], 0
je 0x4350b0
push edi
push esi
push ebx
sub esp, 0x1a0
mov eax, dword [0x521764]
lea ebx, [esp + 0x4c]
test eax, eax
je 0x4351e0
mov eax, dword [esp + 0x1b8]
mov dword [esp + 4], str._dx_d
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1b4]
mov dword [esp + 8], eax
call sub.msvcrt.dll_sprintf
mov eax, dword [0x521764]
test eax, eax
je 0x4350b2
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
sub esp, 8
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1b0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esp, 8
mov ecx, 0x10
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], 0x15
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
lea edx, [edi + 8]
add eax, 8
cmp edx, 0x10
cmovl edx, ecx
cmp eax, 0x10
cmovl eax, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [0x521764]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
sub esp, 0x1c
add esp, 0x1a0
pop ebx
pop esi
pop edi
ret
repz ret
mov dword [esp], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, ebx
sub esp, 4
mov esi, eax
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x4350c6
mov ecx, eax
mov dword [esp], esi
mov dword [esp + 4], ebx
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
mov ecx, eax
add cl, al
lea eax, [esp + 0x34]
sbb edx, 3
sub edx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
sub esp, 0x10
mov dword [esp], esi
call dword [sym.imp.GDI32.dll_DeleteDC]
sub esp, 4
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1b0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x522644]
sub esp, 8
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
lea edx, [esi + 8]
add eax, 8
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 0x80000000
mov dword [esp + 8], ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
cmp edx, 0x10
mov dword [esp], 0x88
mov dword [esp + 0x18], ecx
mov ecx, 0x10
cmovl edx, ecx
cmp eax, 0x10
cmovl eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
movzx eax, word [0x521774]
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
sub esp, 0x30
mov dword [0x521764], eax
mov dword [esp + 4], 4
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 8
jmp 0x43509d
cmp word [0x521774], 0
je 0x435270
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esp], 0x18
mov edi, ebx
call esi
sub esp, 4
mov dword [0x52176c], eax
mov dword [esp], 0x17
call esi
mov ecx, 0x55
mov dword [0x521768], eax
xor eax, eax
rep stosd dword es:[edi], eax
sub esp, 4
mov dword [esp + 0x4c], 0x154
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x154
mov dword [esp], 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
sub esp, 0x10
lea eax, [esp + 0x128]
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
sub esp, 4
mov dword [0x521770], eax
jmp 0x434fe7
mov eax, dword [0x522644]
mov dword [esp + 0x4c], 3
mov dword [esp + 0x50], 0x434cb0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], str.SizeTipClass
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_RegisterClassA]
sub esp, 4
mov word [0x521774], ax
jmp 0x4351ee