Function at 0x486930
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 0x516540
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 0x486b8b
push str.Details___
call fcn.004e09b6
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
cmp eax, ecx
ja 0x486a01
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.004dc550
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x30]
jmp 0x486af9
cmp eax, 0x7ffffffe
ja 0x486e86
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x486a20
mov esi, 0x7ffffffe
jmp 0x486a3e
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x486a36
mov esi, 0x7ffffffe
jmp 0x486a3e
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x486a50
or ecx, 0xffffffff
jmp 0x486a58
cmp ecx, 0x1000
jb 0x486a81
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004da8d3
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x486e8b
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x486a92
test ecx, ecx
je 0x486a90
push ecx
call fcn.004da8d3
add esp, 4
jmp 0x486a92
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.004dbfd0
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 0x486af6
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x486ae9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x486e8b
push edx
push ecx
call fcn.004da8c5
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 0x486b63
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486b59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x486e8b
push edx
push ecx
call fcn.004da8c5
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 0x486d56
push 0x540bb0
call fcn.004e09b6
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
cmp eax, ecx
ja 0x486bd2
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.004dc550
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x30]
jmp 0x486cca
cmp eax, 0x7ffffffe
ja 0x486e90
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x486bf1
mov esi, 0x7ffffffe
jmp 0x486c0f
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x486c07
mov esi, 0x7ffffffe
jmp 0x486c0f
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x486c21
or ecx, 0xffffffff
jmp 0x486c29
cmp ecx, 0x1000
jb 0x486c52
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004da8d3
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x486e95
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x486c63
test ecx, ecx
je 0x486c61
push ecx
call fcn.004da8d3
add esp, 4
jmp 0x486c63
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.004dbfd0
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 0x486cc7
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x486cba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x486e95
push edx
push ecx
call fcn.004da8c5
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 0x486d34
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486d2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x486e95
push edx
push ecx
call fcn.004da8c5
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 0x486e4f
xor ecx, ecx
mov dword [ebp - 0x30], ecx
nop dword [eax + eax]
test ecx, ecx
js 0x486e7a
cmp esi, dword [edi + 0x18]
jge 0x486e7a
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 0x486e39
cmp esi, dword [edi + 0x18]
jge 0x486e7a
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 0x486e39
cmp esi, dword [edi + 0x18]
jge 0x486e7a
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 0x486dc0
push ecx
push dword [edi + 0x24]
mov ecx, edi
call fcn.00485c00
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.004da8b4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 1
push 0xc000008c
call fcn.00409ed4
call fcn.00405394
call fcn.004e0966
call fcn.00405394
call fcn.004e0966
int3