Function at 0x448470
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47ccac
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push edi
mov eax, dword [0x4a3140]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, ecx
lea edx, [eax + 2]
xor edi, edi
mov bx, word [eax]
add eax, 2
cmp bx, di
jne 0x4484a2
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [esi + 0x18]
call fcn.004042f0
mov eax, dword [ebp + 0x14]
push 7
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 4
mov ebx, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 8
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + ebx*2]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], edx
lea edx, [ecx + eax*2]
add edx, dword [ebp + 0x10]
push edi
mov dword [esp + 0x18], eax
mov dword [esi + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x90
mov dword [esp + 0x10], eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], edi
cmp eax, edi
je 0x44852c
push 0x448020
mov ecx, eax
call fcn.00446770
jmp 0x44852e
xor eax, eax
push 0x2c
mov dword [esi], eax
lea eax, [esp + 0x24]
push edi
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 0x4487e0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 0x489c50
mov dword [esp + 0x4c], edi
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0x2c
lea eax, [esp + 0x24]
push edi
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 0x448a40
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 0x489f3c
mov dword [esp + 0x4c], edi
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push edi
push edi
push edi
push eax
push ecx
push edx
push 0xbb8
push 0xbb8
push 0x80c00000
push 0x489c50
push 0x489c50
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
push edi
push edi
push eax
push 0x12
push 0x12
push 0xfa0
push 0xfa0
push 0x40000000
push 0x483dc4
push str.BUTTON
push edi
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x448a40
push 0xfffffffffffffffc
push eax
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 8]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
push edi
sub edx, eax
add eax, dword [esp + 0x14]
push edx
sub ecx, ebx
push ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x10