Function at 0x480260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df420
mov eax, dword fs:[0]
push eax
sub esp, 0x10
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 - 0x14], 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 [0x510a6c]
sub esp, 0x188
mov ecx, esp
mov dword [ebp - 0x10], esp
push edx
call fcn.00410c80
mov byte [ebp - 4], 1
mov eax, dword [0x510a70]
sub esp, 0x3c4
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00462ac0
mov byte [ebp - 4], 2
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0xc
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push str.Registration
mov word [ecx + 4], dx
call fcn.00401860
mov byte [ebp - 4], 3
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0041b950
lea eax, [ebp - 0x10]
push 0x12d
push eax
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 4
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [eax]
push 0x3eb
push ecx
call edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
lea edx, [ebp - 0x14]
push 0
push edx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 5
mov ecx, dword [esi + 4]
mov eax, dword [eax]
push 0x441
push ecx
mov dword [ebp - 0x10], eax
call edi
mov edx, dword [ebp - 0x10]
push edx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c0e0
mov eax, dword [esi + 4]
push 0x3eb
push eax
call edi
push 0
push 0x3f
push 0xc5
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push 0x441
push ecx
call edi
push 0
push 0x3f
push 0xc5
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
lea ecx, [esi + 0x54]
call fcn.00489280
lea eax, [ebp - 0x10]
push 0x6f
push eax
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 6
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push edx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [ebp - 0x14]
push ecx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push 0xfffffffffffffff0
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfff7ffff
cmp eax, ecx
je 0x48044c
mov eax, dword [ebp - 0x14]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push 0x3023
push eax
call edi
push 5
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 - 0x10]
push 0xca
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 - 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 - 0x10]
call fcn.0041c0e0
lea edx, [ebp - 0x10]
push 0xc9
push edx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 8
mov ecx, dword [esi + 4]
mov eax, dword [eax]
push ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetParent]
push 0x3024
push eax
call edi
mov edx, dword [ebp - 0x14]
push edx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
lea eax, [ebp - 0x10]
push 0xcb
push eax
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 9
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push edx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call edi
mov ecx, dword [ebp - 0x14]
push ecx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
lea edx, [ebp - 0x10]
push 0x41a
push edx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 0xa
mov ecx, dword [esi + 4]
mov eax, dword [eax]
push 0x462
push ecx
mov dword [ebp - 0x14], eax
call edi
mov edx, dword [ebp - 0x14]
push edx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
lea eax, [ebp - 0x10]
push 0x41b
push eax
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 0xb
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push 0x463
push edx
mov dword [ebp - 0x14], ecx
call edi
mov ecx, dword [ebp - 0x14]
push ecx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
lea edx, [ebp - 0x10]
push 0x41c
push edx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 0xc
mov ecx, dword [esi + 4]
mov eax, dword [eax]
push 0x464
push ecx
mov dword [ebp - 0x14], eax
call edi
mov edx, dword [ebp - 0x14]
push edx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
lea eax, [ebp - 0x10]
push 0x41d
push eax
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 0xd
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push 0x442
push edx
mov dword [ebp - 0x14], ecx
call edi
mov ecx, dword [ebp - 0x14]
push ecx
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
mov edx, dword [esi + 4]
push 0x459
push edx
call edi
push 1
push 0x4ecbf0
mov dword [ebp - 0x14], eax
push str.IDB_PNG_BANNER
lea eax, [ebp - 0x14]
push eax
call fcn.00424e90
mov eax, dword [0x510a70]
cmp dword [eax + 0x25c], 0
je 0x480692
cmp dword [eax + 0x284], 0
je 0x480689
mov dword [ebp - 0x10], 0x4ed81c
jmp 0x480699
mov dword [ebp - 0x10], 0x4ed7f4
jmp 0x480699
mov dword [ebp - 0x10], 0x4ed7d4
mov ecx, dword [esi + 4]
push 0x453
push ecx
call edi
mov edx, dword [ebp - 0x10]
push 1
push 0x4ecbf0
mov dword [ebp - 0x14], eax
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00424e90
mov ecx, dword [0x510a70]
mov edx, dword [ecx + 0x214]
push 0
add ecx, 0x200
push 0x4e25d8
push edx
push 0
call fcn.00401fe0
test eax, eax
jne 0x4806e9
mov dword [ebp - 0x10], str.User
jmp 0x480707
mov eax, dword [0x510a70]
cmp dword [eax + 0x218], 8
jb 0x4806ff
mov eax, dword [eax + 0x204]
jmp 0x480704
add eax, 0x204
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 4]
push 0x3eb
push ecx
call edi
mov edx, dword [ebp - 0x10]
push edx
push eax
call ebx
mov ecx, dword [0x510a70]
mov eax, dword [ecx + 0x230]
push 0
add ecx, 0x21c
push 0x4e25d8
push eax
push 0
call fcn.00401fe0
test eax, eax
jne 0x480747
mov dword [ebp - 0x10], 0x4e25d8
jmp 0x480768
mov eax, dword [0x510a70]
cmp dword [eax + 0x234], 8
jb 0x480760
mov ecx, dword [eax + 0x220]
mov dword [ebp - 0x10], ecx
jmp 0x480768
add eax, 0x220
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 4]
push 0x441
push edx
call edi
mov ecx, dword [ebp - 0x10]
push ecx
push eax
call ebx
mov eax, dword [0x510a70]
mov ecx, dword [esi + 4]
xor edx, edx
cmp dword [eax + 0x254], edx
setne dl
push edx
push 0x442
push ecx
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov edx, dword [esi + 4]
push 0x442
push edx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov ebx, eax
mov eax, dword [esi + 4]
dec ebx
neg ebx
push 0x441
sbb ebx, ebx
push eax
inc ebx
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x442
push ecx
call edi
cmp eax, 1
jne 0x480803
mov edx, dword [esi + 4]
push 0x442
push edx
call edi
cmp eax, 1
jne 0x4807f5
mov ecx, esi
call fcn.0047fe50
test eax, eax
jne 0x480803
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 1
jmp 0x48080f
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push 3
push 0
push 0x470
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
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