Function at 0x499390
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 0x55c455
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x5d6024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1f6
push dword [esi + 0x24]
call edi
push 0x1f8
push dword [esi + 0x24]
mov dword [ebp - 0x30], eax
call edi
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0xa
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp byte [ebx + 8], al
je 0x499466
push str.Details___
call fcn.00407c80
mov dword [ebp - 4], 0
push 0x1f7
push dword [esi + 0x24]
call edi
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
lea ecx, [ebp - 0x2c]
call fcn.00407f50
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebp - 0x30]
call edi
push 5
jmp 0x4994b2
push 0x591d20
call fcn.00407c80
mov dword [ebp - 4], 1
push 0x1f7
push dword [esi + 0x24]
call edi
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
lea ecx, [ebp - 0x2c]
call fcn.00407f50
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 0x30]
call edi
push 0
push dword [ebp - 0x34]
call edi
movzx eax, byte [ebx + 8]
add eax, eax
push 0x616
movups xmm1, xmmword [esi + 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 [esi + 0x24]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor edi, edi
mov dword [ebp - 0x34], edi
cmp dword [esi + 0x18], edi
jle 0x4995a6
xor ecx, ecx
mov dword [ebp - 0x30], ecx
test ecx, ecx
js 0x4995d1
cmp edi, dword [esi + 0x18]
jge 0x4995d1
mov eax, dword [esi + 0x14]
push dword [ecx + eax]
push dword [esi]
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 0x499590
cmp edi, dword [esi + 0x18]
jge 0x4995d1
mov eax, dword [esi + 0x14]
add eax, 8
add eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x499590
cmp edi, dword [esi + 0x18]
jge 0x4995d1
mov ecx, dword [ebp - 0x30]
add ecx, dword [esi + 0x14]
push 0x14
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 8]
sub eax, edx
push eax
mov eax, dword [ecx + 0x10]
sub eax, edi
push eax
push edx
push edi
push 0
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
inc edi
add ecx, 0x18
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ecx
cmp edi, dword [esi + 0x18]
jl 0x499517
push ecx
push dword [esi + 0x24]
mov ecx, esi
call fcn.004988b0
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.00521461
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 1
push 0xc000008c
call fcn.00411080
int3