Function at 0x486940
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 0x5167e0
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 0x486b9b
push str.Details___
call fcn.004e0c26
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
cmp eax, ecx
ja 0x486a11
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.004dc7c0
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x30]
jmp 0x486b09
cmp eax, 0x7ffffffe
ja 0x486e96
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x486a30
mov esi, 0x7ffffffe
jmp 0x486a4e
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x486a46
mov esi, 0x7ffffffe
jmp 0x486a4e
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x486a60
or ecx, 0xffffffff
jmp 0x486a68
cmp ecx, 0x1000
jb 0x486a91
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004dab43
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x486e9b
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x486aa2
test ecx, ecx
je 0x486aa0
push ecx
call fcn.004dab43
add esp, 4
jmp 0x486aa2
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.004dc240
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 0x486b06
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x486af9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x486e9b
push edx
push ecx
call fcn.004dab35
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 0x486b73
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486b69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x486e9b
push edx
push ecx
call fcn.004dab35
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 0x486d66
push 0x540ba0
call fcn.004e0c26
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
cmp eax, ecx
ja 0x486be2
lea esi, [eax + eax]
mov dword [ebp - 0x1c], eax
cmp ecx, 8
lea edi, [ebp - 0x2c]
push esi
cmovae edi, dword [ebp - 0x2c]
push 0x540ba0
push edi
call fcn.004dc7c0
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x30]
jmp 0x486cda
cmp eax, 0x7ffffffe
ja 0x486ea0
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x486c01
mov esi, 0x7ffffffe
jmp 0x486c1f
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x486c17
mov esi, 0x7ffffffe
jmp 0x486c1f
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x486c31
or ecx, 0xffffffff
jmp 0x486c39
cmp ecx, 0x1000
jb 0x486c62
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004dab43
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x486ea5
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x486c73
test ecx, ecx
je 0x486c71
push ecx
call fcn.004dab43
add esp, 4
jmp 0x486c73
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 0x540ba0
push eax
call fcn.004dc240
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 0x486cd7
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x486cca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x486ea5
push edx
push ecx
call fcn.004dab35
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 0x486d44
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486d3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x486ea5
push edx
push ecx
call fcn.004dab35
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 0x486e5f
xor ecx, ecx
mov dword [ebp - 0x30], ecx
nop dword [eax + eax]
test ecx, ecx
js 0x486e8a
cmp esi, dword [edi + 0x18]
jge 0x486e8a
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 0x486e49
cmp esi, dword [edi + 0x18]
jge 0x486e8a
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 0x486e49
cmp esi, dword [edi + 0x18]
jge 0x486e8a
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 0x486dd0
push ecx
push dword [edi + 0x24]
mov ecx, edi
call fcn.00485c10
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.004dab24
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 1
push 0xc000008c
call fcn.00409ed4
call fcn.00405394
call fcn.004e0bd6
call fcn.00405394
call fcn.004e0bd6
int3