Function at 0x485a80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
mov dword [ebp - 0x68], 3
mov dword [ebp - 0x64], 0x4865f0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
push 0x80
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x54], ecx
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x50], eax
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0x5090e4
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, ax
test eax, eax
jne 0x485b18
xor eax, eax
jmp 0x485d61
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0xcf0000
push str.window_yuutto_name
push str.window_yuutto_class
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x485b63
xor eax, eax
jmp 0x485d61
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xd1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
push ecx
push 0x23a2
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 4]
call fcn.00485890
push 0xc9
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.004871c0
push 0xca
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.004871c0
push 0xcb
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.004871c0
push 0xcc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.004871c0
push 0xcd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.004871c0
push 0xce
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.004871c0
mov dword [ebp - 0x2c], 3
push 0x50915c
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x2c
call fcn.00485430
mov ecx, eax
call fcn.00457780
mov dword [ebp - 0x30], 2
push 0x509170
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x2c
call fcn.00485430
mov ecx, eax
call fcn.00457780
mov dword [ebp - 0x34], 1
push 0x509184
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x2c
call fcn.00485430
mov ecx, eax
call fcn.00457780
mov dword [ebp - 0x38], 0xffffffff
push 0x509194
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x2c
call fcn.00485430
mov ecx, eax
call fcn.00457780
mov dword [ebp - 0x3c], 0xfffffffe
push 0x5091b0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x2c
call fcn.00485430
mov ecx, eax
call fcn.00457780
mov dword [ebp - 0x40], 0xfffffffd
push 0x5091c8
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x2c
call fcn.00485430
mov ecx, eax
call fcn.00457780
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
je 0x485d57
mov dword [ebp - 0x10], 1
jmp 0x485d5e
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4