Function at 0x476550
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x5d080a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
mov ebp, dword [esp + 0x134]
xor eax, eax
push esi
push edi
push 0xfffffffffffffffa
mov dword [esp + 0x38], eax
push ebp
xor edi, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], 0x476000
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, dword [esp + 0x15c]
push 5
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], 0x5e5484
mov dword [esp + 0x4c], ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0xf4
call fcn.004d9305
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x134], edi
cmp eax, edi
je 0x476610
mov ecx, eax
call fcn.0046f2f0
mov esi, eax
jmp 0x476612
xor esi, esi
mov dword [esp + 0x134], 0xffffffff
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x150]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x158]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x168]
mov dword [esi], ebp
mov dword [esi + 8], edx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0xf0], ecx
cmp eax, edi
jne 0x4766a2
push 1
push edi
push 1
push edi
push edi
push 0xfffffffffffffff8
push str.Tahoma
lea ecx, [esp + 0x84]
call fcn.0048dee0
mov dword [esp + 0x134], 1
lea ebx, [esi + 0x20]
push eax
mov ecx, ebx
mov dword [esp + 0x24], ebx
call fcn.0048af60
mov dword [esp + 0x134], 0xffffffff
lea ecx, [esp + 0x68]
call fcn.0048d1b0
jmp 0x4766b3
lea ecx, [esi + 0x20]
push eax
mov dword [esp + 0x24], ecx
call fcn.0048af60
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x160]
mov eax, dword [esp + 0x164]
push ebp
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048e300
mov ebx, dword [esp + 0x148]
push ebx
lea ecx, [esp + 0x2c]
call fcn.0043bf90
mov dword [esp + 0x134], 2
mov eax, dword [eax]
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x476700
sub eax, ecx
sar eax, 1
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], eax
call fcn.0043bf90
mov byte [esp + 0x134], 3
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
lea ecx, [esp + 0x58]
push ecx
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov byte [esp + 0x134], 2
lea ecx, [esp + 0x60]
call fcn.004381e0
mov dword [esp + 0x134], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.004381e0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
xor eax, eax
push eax
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
push 0x40000000
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [esp + 0x10]
sub dword [esp + 0x18], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x140]
sub dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], eax
call fcn.0043bf90
mov dword [esp + 0x134], 4
mov edx, dword [esp + 0x154]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push esi
push 0
push edx
mov edx, dword [esp + 0x24]
push ebp
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push ecx
push edx
push 0x40000000
push eax
push 0x5e5484
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [esp + 0x134], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.004381e0
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x20]
push edi
call fcn.0048ccc0
push edi
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, esi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret