Function at 0x470852
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0x53168c
call fcn.005011de
add esp, 4
push 0x60
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4708aa
xor eax, eax
jmp 0x470a9b
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x1c], 0
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [0x533640]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
push 8
push 8
push 0xffff8ad0
push 0xffff8ad0
push 0x40000000
push 0
push 0x531690
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1c], 0
jne 0x47091f
jmp 0x470a6c
push 5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x470968
jmp 0x470a6c
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.0047954d
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4709c0
jmp 0x470a6c
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.0047954d
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x38], 0xffffffff
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x3c], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x48], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x4c], 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 4], 0
je 0x470a93
mov eax, dword [ebp - 0x10]
push eax
call fcn.00470aa0
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
jmp 0x470a9b
pop edi
pop esi
pop ebx
leave
ret