Function at 0x415eb9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x5c]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
mov ecx, 0xbc
cdq
idiv ecx
test eax, eax
jne 0x415edf
xor al, al
jmp 0x41627e
push edi
push dword [edi + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00409e75
push edi
push dword [edi + 0x10]
jmp 0x415f11
push 0
lea ecx, [ebp - 0x14]
call fcn.00408938
mov ecx, eax
add ecx, 4
call fcn.0040a230
lea ecx, [ebp - 0x14]
call fcn.0040992f
push edi
push dword [edi + 0x10]
lea ecx, [ebp - 0xc]
call fcn.00409e75
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401454
test al, al
je 0x415ef1
lea eax, [esi + 0x108]
cmp byte [eax], 0
push ebx
je 0x41602d
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
push ebx
push dword [esi + 0xec]
mov byte [eax], 0
call edi
push ebx
push dword [esi + 0xf0]
call edi
push ebx
push dword [esi + 0xe4]
call edi
push ebx
push dword [esi + 0xe8]
call edi
push ebx
push dword [esi + 0xf4]
call edi
mov eax, dword [esi + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x15
push eax
call ebx
push eax
call edi
mov eax, dword [esi + 8]
push 0
push 0xf
push eax
call ebx
push eax
call edi
mov eax, dword [esi + 8]
push 0
push 0xe
push eax
call ebx
push eax
call edi
mov ecx, dword [esi + 0xcc]
movzx ecx, byte [ecx + 0x595]
mov eax, dword [esi + 8]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push 0x1f6
push eax
call ebx
push eax
call edi
mov ecx, dword [esi + 0xcc]
movzx ecx, byte [ecx + 0x594]
mov eax, dword [esi + 8]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push 0x1f7
push eax
call ebx
push eax
call edi
mov ecx, dword [esi + 0xcc]
mov eax, dword [ecx + 0x128]
mov edi, dword [esi + 8]
cdq
sub eax, edx
push 1
push dword [esi + 0xa4]
sar eax, 1
add eax, dword [esi + 0x8c]
push dword [esi + 0xa0]
push eax
mov eax, dword [ecx + 0x124]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 0x88]
push eax
push 0x1f5
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xe8], 1
je 0x416045
push 0
mov ecx, esi
call fcn.0040a0ae
lea edi, [esi + 0x100]
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x5c]
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0xc]
call fcn.00409e75
mov eax, dword [ebp - 0xc]
lea ebx, [esi + 0xf8]
mov dword [ebx], eax
mov eax, dword [ebp - 8]
and dword [ebp - 8], 0
mov dword [ebx + 4], eax
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xdc], 0
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
jle 0x41623c
lea eax, [esi + 0x5c]
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.00409e75
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.00401454
test al, al
jne 0x416232
mov ecx, edi
call fcn.00408938
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x1bf], 0
jne 0x41620b
lea eax, [esi + 0x5c]
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0x24]
call fcn.00409e75
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call fcn.00401454
test al, al
je 0x41616c
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov ecx, edi
mov dword [ebx + 4], eax
call fcn.00408938
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x1bc], 0
je 0x41616c
mov ecx, edi
call fcn.00408938
add eax, 4
push eax
mov ecx, esi
call fcn.004158c1
cmp byte [ebp - 1], 0
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
jne 0x41614c
mov ecx, edi
call fcn.00408938
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x1c0], 0
je 0x41614c
mov byte [ebp - 1], 1
cmp byte [ebp - 2], 0
jne 0x41616c
mov ecx, edi
call fcn.00408938
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x1c1], 0
je 0x41616c
mov byte [ebp - 2], 1
mov ecx, edi
call fcn.00408938
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x1bc], 0
jne 0x416229
mov ecx, edi
call fcn.00408938
add eax, 4
push eax
mov ecx, esi
call fcn.004158c1
cmp byte [ebp - 1], 0
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
jne 0x4161c3
mov ecx, edi
call fcn.00408938
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x1c0], 0
je 0x4161c3
mov byte [ebp - 1], 1
cmp byte [ebp - 2], 0
jne 0x4161e3
mov ecx, edi
call fcn.00408938
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x1c1], 0
je 0x4161e3
mov byte [ebp - 2], 1
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xe4], 0
je 0x416208
mov ecx, edi
call fcn.00408938
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x1be], 0
je 0x41620b
inc dword [ebp - 8]
mov ecx, edi
call fcn.0040992f
mov eax, dword [esi + 0xcc]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xdc]
jl 0x416095
jmp 0x416232
push 0
mov ecx, esi
call fcn.0040a0ae
cmp byte [ebp - 1], 0
je 0x41623c
mov al, 1
jmp 0x416249
mov eax, dword [esi + 0xcc]
movzx eax, byte [eax + 0x594]
push eax
mov ecx, esi
call fcn.00415013
cmp byte [ebp - 2], 0
pop ebx
je 0x41625c
mov al, 1
jmp 0x416269
mov eax, dword [esi + 0xcc]
movzx eax, byte [eax + 0x595]
push eax
mov ecx, esi
call fcn.00415039
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
leave
ret