Function at 0x4817a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df640
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 [0x510a74]
sub esp, 0x188
mov ecx, esp
mov dword [ebp - 0x10], esp
push edx
call fcn.00410c80
mov byte [ebp - 4], 1
mov eax, dword [0x510a78]
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 8
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push str.Software
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 - 0x10]
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
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
mov eax, dword [esi + 4]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3023
push eax
call ebx
mov ecx, dword [0x510a78]
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 edi
push 0x3024
push eax
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
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 - 0x10], ecx
call edi
push 0x3023
push eax
call ebx
mov ecx, dword [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c0e0
lea edx, [ebp - 0x10]
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 - 0x14], eax
call edi
push 0x3024
push eax
call ebx
mov edx, dword [ebp - 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
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], 7
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push edx
mov dword [ebp - 0x14], ecx
call edi
push 2
push eax
call ebx
mov ecx, dword [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
mov edx, dword [esi + 4]
push 0x459
push edx
call ebx
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 [0x510a78]
cmp dword [eax + 0x25c], 0
je 0x481a05
cmp dword [eax + 0x284], 0
je 0x4819fc
mov dword [ebp - 0x10], 0x4ed81c
jmp 0x481a0c
mov dword [ebp - 0x10], 0x4ed7f4
jmp 0x481a0c
mov dword [ebp - 0x10], 0x4ed7d4
mov ecx, dword [esi + 4]
push 0x453
push ecx
call ebx
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 [esi + 4]
push ecx
call edi
push 3
push 0
push 0x470
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x510a78]
cmp dword [eax + 0x1d0], 8
jb 0x481a5a
mov edi, dword [eax + 0x1bc]
jmp 0x481a60
lea edi, [eax + 0x1bc]
mov edx, dword [esi + 4]
push 0x3fe
push edx
call ebx
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, esi
call fcn.0046fdf0
xor edi, edi
mov dword [ebp - 0x10], edi
nop
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 ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc edi
mov dword [ebp - 0x10], edi
cmp edi, 6
jb 0x481a80
mov ecx, dword [0x510a78]
mov edi, dword [ecx + 0x10]
sub edi, dword [ecx + 0xc]
mov eax, 0x8a42f871
imul edi
add edx, edi
sar edx, 9
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x10], ebx
je 0x481b17
mov edi, dword [ebp - 0x10]
cmp edi, 6
jae 0x481b17
push ebx
call fcn.00463630
cmp dword [eax + 0x344], 0
jne 0x481af3
mov eax, edi
push ebx
inc edi
push eax
mov ecx, esi
mov dword [ebp - 0x10], edi
call fcn.00480e80
mov ecx, dword [0x510a78]
mov edi, dword [ecx + 0x10]
sub edi, dword [ecx + 0xc]
mov eax, 0x8a42f871
imul edi
add edx, edi
sar edx, 9
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
cmp ebx, eax
jb 0x481acd
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