Function at 0x470e00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd518
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x50f52c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
mov ebx, 7
xor eax, eax
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push 0x4e25d8
mov word [ecx + 4], ax
call fcn.00401860
mov dword [ebp - 4], edi
mov edx, dword [0x510a04]
sub esp, 0x188
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
call fcn.00410c80
mov byte [ebp - 4], 1
mov eax, dword [0x510a08]
sub esp, 0x3c4
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00462ac0
mov byte [ebp - 4], 2
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push 6
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push str.Custom
mov word [ecx + 4], dx
call fcn.00401860
mov byte [ebp - 4], 3
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0041b950
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
lea ecx, [esi + 0x54]
push eax
call fcn.00489280
lea ecx, [ebp - 0x14]
push 0x67
push ecx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 4
mov edx, dword [esi + 4]
mov ebx, dword [eax]
push edx
call edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c0e0
mov eax, dword [esi + 4]
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3023
push eax
call edi
mov ecx, dword [0x510a08]
mov ecx, dword [ecx + 0x25c]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffb
add ecx, 5
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push 0x3024
push eax
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x18]
push 0xca
push eax
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 5
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push edx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_GetParent]
push 0x3023
push eax
call edi
mov ecx, dword [ebp - 0x14]
push ecx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041c0e0
lea edx, [ebp - 0x14]
push 0xc9
push edx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 6
mov ecx, dword [esi + 4]
mov eax, dword [eax]
push ecx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetParent]
push 0x3024
push eax
call edi
mov edx, dword [ebp - 0x18]
push edx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c0e0
lea eax, [ebp - 0x14]
push 0xcb
push eax
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 7
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push edx
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call edi
mov ecx, dword [ebp - 0x18]
push ecx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c0e0
lea edx, [ebp - 0x14]
push 0x12e
push edx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 8
mov ecx, dword [esi + 4]
mov eax, dword [eax]
push 0x45d
push ecx
mov dword [ebp - 0x18], eax
call edi
mov edx, dword [ebp - 0x18]
push edx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c0e0
lea eax, [ebp - 0x14]
push 0x12f
push eax
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 9
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push 0x45e
push edx
mov dword [ebp - 0x18], ecx
call edi
mov ecx, dword [ebp - 0x18]
push ecx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c0e0
lea edx, [ebp - 0x14]
push 0x130
push edx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 0xa
mov ecx, dword [esi + 4]
mov eax, dword [eax]
push 0x438
push ecx
mov dword [ebp - 0x18], eax
call edi
mov edx, dword [ebp - 0x18]
push edx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c0e0
mov eax, dword [esi + 4]
push 0x459
push eax
call edi
push 1
push 0x4ecbf0
push str.IDB_PNG_BANNER
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], eax
call fcn.00424e90
mov eax, dword [0x510a08]
cmp dword [eax + 0x25c], 0
je 0x471125
cmp dword [eax + 0x284], 0
je 0x47111c
mov dword [ebp - 0x14], 0x4ed81c
jmp 0x47112c
mov dword [ebp - 0x14], 0x4ed7f4
jmp 0x47112c
mov dword [ebp - 0x14], 0x4ed7d4
mov edx, dword [esi + 4]
push 0x453
push edx
call edi
push 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push 0x4ecbf0
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00424e90
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push 3
push 0
push 0x470
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x510a08]
cmp dword [eax + 0x1d0], 8
jb 0x47117e
mov eax, dword [eax + 0x1bc]
jmp 0x471183
add eax, 0x1bc
mov ecx, dword [esi + 4]
push 0x3fe
push ecx
mov dword [ebp - 0x14], eax
call edi
mov edx, dword [ebp - 0x14]
push edx
push eax
call ebx
mov eax, dword [0x510a08]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
xor edx, edx
push 0xffffffffffffffff
add eax, 0x1b8
push edx
mov ebx, 7
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], 0
push eax
mov word [ecx + 4], dx
call fcn.00401750
mov dword [ebp - 4], 0xb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov dword [ecx + 0x18], ebx
push 8
xor ebx, ebx
xor eax, eax
mov dword [ecx + 0x14], ebx
push str.LOCATION
mov word [ecx + 4], ax
call fcn.00401860
mov byte [ebp - 4], 0xc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x510a08]
call fcn.0041ca80
mov ecx, esi
call fcn.0046fdf0
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
lea ebx, [esi + 0x54]
mov ecx, ebx
call fcn.0046fed0
mov eax, dword [eax]
mov edx, dword [esi + 4]
push eax
push edx
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.0046fed0
mov eax, dword [eax]
mov ecx, dword [esi + 4]
push eax
push ecx
call edi
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
mov dword [0x5109fc], eax
call fcn.0046fed0
mov eax, dword [eax]
push eax
mov eax, dword [esi + 4]
push eax
call edi
push 0x46eb20
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 6
jb 0x471211
mov eax, dword [0x510a08]
mov dword [ebp - 0x10], 0
mov ecx, dword [eax + 0xc]
mov ebx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, dword [eax + 0x10]
jbe 0x4712a4
call fcn.004b32e0
mov eax, dword [0x510a08]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ecx
lea esp, [esp]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
cmp dword [eax + 0xc], ecx
jbe 0x4712c3
call fcn.004b32e0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
test ebx, ebx
je 0x4712d0
cmp ebx, eax
je 0x4712d5
call fcn.004b32e0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x20], eax
jae 0x47133c
test ebx, ebx
jne 0x471334
call fcn.004b32e0
xor eax, eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x10]
jb 0x4712f5
call fcn.004b32e0
mov eax, dword [ebp - 0x20]
push 0
lea edx, [ebp - 0x10]
push edx
add eax, 0x39c
push eax
mov ecx, esi
call fcn.004703a0
test ebx, ebx
jne 0x471338
call fcn.004b32e0
xor eax, eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x10]
jb 0x471323
call fcn.004b32e0
add dword [ebp - 0x20], 0x3b4
mov eax, dword [0x510a08]
jmp 0x4712b0
mov eax, dword [ebx]
jmp 0x4712e8
mov eax, dword [ebx]
jmp 0x471316
cmp dword [ebp - 0x10], 0
jne 0x471458
mov edx, dword [esi + 4]
push 0x45d
push edx
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call ebx
mov edx, dword [esi + 4]
push 0x45e
push edx
call edi
lea ecx, [ebp - 0x2c]
push ecx
push eax
call ebx
mov edx, dword [esi + 4]
push 0x45e
push edx
call edi
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
sub eax, ecx
sub ecx, dword [ebp - 0x38]
push 1
push eax
mov eax, dword [ebp - 0x24]
sub eax, edx
sub edx, dword [ebp - 0x3c]
push eax
sub ecx, 0xd2
push ecx
mov ecx, dword [ebp - 0x18]
sub edx, 0xc
push edx
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esi + 4]
push 0x3fe
push edx
call edi
lea ecx, [ebp - 0x2c]
push ecx
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3fe
push edx
call edi
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
sub eax, ecx
sub ecx, dword [ebp - 0x38]
push 1
push eax
mov eax, dword [ebp - 0x24]
sub eax, edx
sub edx, dword [ebp - 0x3c]
push eax
sub ecx, 0xd2
push ecx
mov ecx, dword [ebp - 0x18]
sub edx, 0xc
push edx
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esi + 4]
push 0x438
push edx
call edi
lea ecx, [ebp - 0x2c]
push ecx
push eax
call ebx
mov edx, dword [esi + 4]
push 0x438
push edx
call edi
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
sub edx, ecx
sub ecx, dword [ebp - 0x38]
push 1
push edx
mov edx, dword [ebp - 0x2c]
sub ebx, edx
sub edx, dword [ebp - 0x3c]
push ebx
sub ecx, 0xd2
push ecx
sub edx, 0xc
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [ebp - 0x10], 6
jae 0x47148a
mov edi, edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x54]
call fcn.0046fed0
mov eax, dword [eax]
mov ecx, dword [esi + 4]
push eax
push ecx
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 6
jb 0x471460
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret