Function at 0x486960
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516800
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x57c080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1f6
push dword [edi + 0x24]
call esi
push 0x1f8
push dword [edi + 0x24]
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp byte [ebx + 8], al
je 0x486bbb
push str.Details___
call fcn.004e0c46
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
cmp eax, ecx
ja 0x486a31
lea esi, [eax + eax]
mov dword [ebp - 0x1c], eax
cmp ecx, 8
lea edi, [ebp - 0x2c]
push esi
cmovae edi, dword [ebp - 0x2c]
push str.Details___
push edi
call fcn.004dc7e0
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x30]
jmp 0x486b29
cmp eax, 0x7ffffffe
ja 0x486eb6
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x486a50
mov esi, 0x7ffffffe
jmp 0x486a6e
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x486a66
mov esi, 0x7ffffffe
jmp 0x486a6e
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x486a80
or ecx, 0xffffffff
jmp 0x486a88
cmp ecx, 0x1000
jb 0x486ab1
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004dab63
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x486ebb
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x486ac2
test ecx, ecx
je 0x486ac0
push ecx
call fcn.004dab63
add esp, 4
jmp 0x486ac2
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ecx
lea esi, [ecx + ecx]
push esi
push str.Details___
push eax
call fcn.004dc260
mov eax, dword [ebp - 0x30]
xor ecx, ecx
add esp, 0xc
mov word [eax + esi], cx
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x486b26
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x486b19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x486ebb
push edx
push ecx
call fcn.004dab55
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1f7
push dword [edi + 0x24]
call eax
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x486b93
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486b89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x486ebb
push edx
push ecx
call fcn.004dab55
add esp, 8
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push 5
push dword [ebp - 0x40]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call esi
push 5
jmp 0x486d86
push 0x540bb0
call fcn.004e0c46
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
cmp eax, ecx
ja 0x486c02
lea esi, [eax + eax]
mov dword [ebp - 0x1c], eax
cmp ecx, 8
lea edi, [ebp - 0x2c]
push esi
cmovae edi, dword [ebp - 0x2c]
push 0x540bb0
push edi
call fcn.004dc7e0
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x30]
jmp 0x486cfa
cmp eax, 0x7ffffffe
ja 0x486ec0
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x486c21
mov esi, 0x7ffffffe
jmp 0x486c3f
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x486c37
mov esi, 0x7ffffffe
jmp 0x486c3f
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x486c51
or ecx, 0xffffffff
jmp 0x486c59
cmp ecx, 0x1000
jb 0x486c82
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004dab63
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x486ec5
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x486c93
test ecx, ecx
je 0x486c91
push ecx
call fcn.004dab63
add esp, 4
jmp 0x486c93
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ecx
lea esi, [ecx + ecx]
push esi
push 0x540bb0
push eax
call fcn.004dc260
mov eax, dword [ebp - 0x30]
xor ecx, ecx
add esp, 0xc
mov word [eax + esi], cx
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x486cf7
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x486cea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x486ec5
push edx
push ecx
call fcn.004dab55
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1f7
push dword [edi + 0x24]
call eax
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x486d64
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486d5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x486ec5
push edx
push ecx
call fcn.004dab55
add esp, 8
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push dword [ebp - 0x40]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call esi
push 0
push dword [ebp - 0x34]
call esi
movzx eax, byte [ebx + 8]
add eax, eax
push 0x616
movups xmm1, xmmword [edi + eax*8 + 0x2c]
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
sub ecx, eax
movd eax, xmm1
push ecx
movd ecx, xmm0
sub ecx, eax
push ecx
push 0
push 0
push 0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor esi, esi
mov dword [ebp - 0x34], esi
cmp dword [edi + 0x18], esi
jle 0x486e7f
xor ecx, ecx
mov dword [ebp - 0x30], ecx
nop dword [eax + eax]
test ecx, ecx
js 0x486eaa
cmp esi, dword [edi + 0x18]
jge 0x486eaa
mov eax, dword [edi + 0x14]
push dword [eax + ecx]
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x486e69
cmp esi, dword [edi + 0x18]
jge 0x486eaa
mov eax, dword [edi + 0x14]
add eax, 8
add eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x486e69
cmp esi, dword [edi + 0x18]
jge 0x486eaa
mov ecx, dword [ebp - 0x30]
add ecx, dword [edi + 0x14]
push 0x14
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 8]
sub eax, edx
push eax
mov eax, dword [ecx + 0x10]
sub eax, esi
push eax
push edx
push esi
push 0
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
inc esi
add ecx, 0x18
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
cmp esi, dword [edi + 0x18]
jl 0x486df0
push ecx
push dword [edi + 0x24]
mov ecx, edi
call fcn.00485c30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004dab44
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 1
push 0xc000008c
call fcn.00409ed4
call fcn.00405394
call fcn.004e0bf6
call fcn.00405394
call fcn.004e0bf6
int3