Function at 0x414ed5
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 0x414efb
xor al, al
jmp 0x41525d
push edi
push dword [edi + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406d45
push edi
push dword [edi + 0x10]
jmp 0x414f2d
push 0
lea ecx, [ebp - 0x14]
call fcn.004106ba
mov ecx, eax
add ecx, 4
call fcn.0040c0f9
lea ecx, [ebp - 0x14]
call fcn.0040b50e
push edi
push dword [edi + 0x10]
lea ecx, [ebp - 0xc]
call fcn.00406d45
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.004170a5
test al, al
je 0x414f0d
lea eax, [esi + 0x11c]
cmp byte [eax], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x415019
xor edi, edi
push edi
push dword [esi + 0xe8]
mov byte [eax], 0
call ebx
push edi
push dword [esi + 0xec]
call ebx
push edi
push dword [esi + 0xe0]
call ebx
push edi
push dword [esi + 0xe4]
call ebx
mov ecx, dword [esi + 0xcc]
movzx ecx, byte [ecx + 0x599]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push 0x1f6
push eax
call edi
push eax
call ebx
mov ecx, dword [esi + 0xcc]
movzx ecx, byte [ecx + 0x598]
mov eax, dword [esi + 8]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push 0x1f7
push eax
call edi
push eax
call ebx
mov ecx, dword [esi + 0xcc]
mov eax, dword [ecx + 0x12c]
cdq
push 1
push dword [esi + 0xa4]
sub eax, edx
push dword [esi + 0xa0]
sar eax, 1
add eax, dword [esi + 0x8c]
push eax
mov eax, dword [ecx + 0x128]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 0x88]
push eax
push 0x1f5
push dword [esi + 8]
call edi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xec], 1
je 0x415043
xor edi, edi
push edi
push dword [esi + 0xf0]
call ebx
push edi
mov ecx, esi
call fcn.004145f7
push edi
mov ecx, esi
call fcn.0040bf43
lea edi, [esi + 0x114]
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.00406d45
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0x10c]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
and dword [ebp - 8], 0
mov dword [eax + 4], ecx
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xdc], 0
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
jle 0x41524f
lea eax, [esi + 0x5c]
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.00406d45
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.004170a5
test al, al
jne 0x41524f
mov ecx, edi
call fcn.004106ba
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x22b], 0
jne 0x415233
lea eax, [esi + 0x5c]
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0x24]
call fcn.00406d45
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x10c]
call fcn.004170a5
test al, al
je 0x415194
mov ecx, dword [edi]
lea eax, [esi + 0x10c]
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ecx, edi
call fcn.004106ba
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x228], 0
je 0x415194
push 0
push dword [esi + 0xf0]
call ebx
push 0
mov ecx, esi
call fcn.004145f7
push 0
mov ecx, esi
call fcn.0040bf43
mov ecx, edi
call fcn.004106ba
add eax, 4
push eax
mov ecx, esi
call fcn.0041489a
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 0x415174
mov ecx, edi
call fcn.004106ba
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x22c], 0
je 0x415174
mov byte [ebp - 1], 1
cmp byte [ebp - 2], 0
jne 0x415194
mov ecx, edi
call fcn.004106ba
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x22d], 0
je 0x415194
mov byte [ebp - 2], 1
mov ecx, edi
call fcn.004106ba
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x228], 0
jne 0x41524f
mov ecx, edi
call fcn.004106ba
add eax, 4
push eax
mov ecx, esi
call fcn.0041489a
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 0x4151eb
mov ecx, edi
call fcn.004106ba
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x22c], 0
je 0x4151eb
mov byte [ebp - 1], 1
cmp byte [ebp - 2], 0
jne 0x41520b
mov ecx, edi
call fcn.004106ba
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x22d], 0
je 0x41520b
mov byte [ebp - 2], 1
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xe8], 0
je 0x415230
mov ecx, edi
call fcn.004106ba
mov eax, dword [eax + 0xb8]
cmp byte [eax + 0x22a], 0
je 0x415233
inc dword [ebp - 8]
mov ecx, edi
call fcn.0040b50e
mov eax, dword [esi + 0xcc]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xdc]
jl 0x415093
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov al, 1
pop ebx
pop edi
pop esi
leave
ret