Function at 0x486060
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 0x515ba0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x57c074]
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 0x4862bb
push str.Details___
call fcn.004dfc45
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
cmp eax, ecx
ja 0x486131
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.004db7c0
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x30]
jmp 0x486229
cmp eax, 0x7ffffffe
ja 0x4865ae
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x486150
mov esi, 0x7ffffffe
jmp 0x48616e
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x486166
mov esi, 0x7ffffffe
jmp 0x48616e
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x486180
or ecx, 0xffffffff
jmp 0x486188
cmp ecx, 0x1000
jb 0x4861b1
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004d9b4f
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4865b3
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4861c2
test ecx, ecx
je 0x4861c0
push ecx
call fcn.004d9b4f
add esp, 4
jmp 0x4861c2
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.004db240
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 0x486226
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x486219
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4865b8
push edx
push ecx
call fcn.004d9b41
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 0x486293
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486289
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4865bd
push edx
push ecx
call fcn.004d9b41
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 0x486486
push 0x53fb90
call fcn.004dfc45
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
cmp eax, ecx
ja 0x486302
lea esi, [eax + eax]
mov dword [ebp - 0x1c], eax
cmp ecx, 8
lea edi, [ebp - 0x2c]
push esi
cmovae edi, dword [ebp - 0x2c]
push 0x53fb90
push edi
call fcn.004db7c0
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x30]
jmp 0x4863fa
cmp eax, 0x7ffffffe
ja 0x4865c2
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x486321
mov esi, 0x7ffffffe
jmp 0x48633f
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x486337
mov esi, 0x7ffffffe
jmp 0x48633f
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x486351
or ecx, 0xffffffff
jmp 0x486359
cmp ecx, 0x1000
jb 0x486382
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004d9b4f
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4865c7
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x486393
test ecx, ecx
je 0x486391
push ecx
call fcn.004d9b4f
add esp, 4
jmp 0x486393
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 0x53fb90
push eax
call fcn.004db240
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 0x4863f7
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x4863ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4865cc
push edx
push ecx
call fcn.004d9b41
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 0x486464
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48645a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4865d1
push edx
push ecx
call fcn.004d9b41
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 0x486583
xor ecx, ecx
mov dword [ebp - 0x30], ecx
nop dword [eax + eax]
test ecx, ecx
js 0x4865d6
cmp esi, dword [edi + 0x18]
jge 0x4865d6
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 0x48656d
cmp esi, dword [edi + 0x18]
jge 0x4865d6
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 0x48656d
cmp esi, dword [edi + 0x18]
jge 0x4865d6
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 0x4864f0
push ecx
push dword [edi + 0x24]
mov ecx, edi
call fcn.00485320
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.004d9b30
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004053e9
call fcn.004dfbf5
call fcn.004dfbf5
call fcn.004dfbf5
call fcn.004053e9
call fcn.004dfbf5
call fcn.004dfbf5
call fcn.004dfbf5
push 1
push 0xc000008c
call fcn.00409fb6
int3