Function at 0x5f1d30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68f481
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov byte [esi + 0xc9c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x74b8f8
call fcn.005f7780
mov edx, esi
lea ecx, [esi + 0x28]
neg edx
mov edi, eax
sbb edx, edx
and edx, ecx
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x38], edx
cmp ecx, eax
jne 0x5f1df0
mov edx, dword [edi + 4]
lea esi, [ebp - 0x40]
cmp esi, edx
mov esi, dword [ebp - 0x2c]
jb 0x5f1db2
lea esi, [ebp - 0x40]
lea eax, [edx + eax*4]
cmp esi, eax
mov esi, dword [ebp - 0x2c]
jb 0x5f2432
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x5f1dc0
mov eax, 1
mov dword [ebp - 0x30], eax
jmp 0x5f1dd1
lea eax, [ecx + ecx]
mov dword [ebp - 0x30], eax
test eax, eax
js 0x5f1e05
cmp eax, 0x1fffffff
ja 0x5f1e05
push 4
push eax
push edx
call fcn.00668bf0
add esp, 0xc
test eax, eax
je 0x5f1e05
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
mov dword [edi + 0xc], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
lea eax, [eax + ecx*4]
test eax, eax
je 0x5f1dff
mov dword [eax], edx
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov ecx, dword [edi + 0x14]
lea eax, [esi + 0x2c]
mov edx, esi
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x38], edx
cmp ecx, eax
jne 0x5f1e7c
mov edx, dword [edi + 0x10]
lea esi, [ebp - 0x44]
cmp esi, edx
mov esi, dword [ebp - 0x2c]
jb 0x5f1e3e
lea esi, [ebp - 0x44]
lea eax, [edx + eax*4]
cmp esi, eax
mov esi, dword [ebp - 0x2c]
jb 0x5f243c
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x5f1e4c
mov eax, 1
mov dword [ebp - 0x30], eax
jmp 0x5f1e5d
lea eax, [ecx + ecx]
mov dword [ebp - 0x30], eax
test eax, eax
js 0x5f1e91
cmp eax, 0x1fffffff
ja 0x5f1e91
push 4
push eax
push edx
call fcn.00668bf0
add esp, 0xc
test eax, eax
je 0x5f1e91
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
mov dword [edi + 0x18], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x10]
lea eax, [eax + ecx*4]
test eax, eax
je 0x5f1e8b
mov dword [eax], edx
mov ecx, dword [edi + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 4]
lea edi, [esi + 4]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x5f1f2e
mov ecx, dword [esi + 0x38]
mov eax, 4
mov edx, dword [esi + 0x3c]
mov word [ebp - 0x48], ax
cmp ecx, edx
jne 0x5f1f10
mov eax, dword [esi + 0x34]
lea esi, [ebp - 0x4c]
cmp esi, eax
mov esi, dword [ebp - 0x2c]
jb 0x5f1ed3
lea esi, [ebp - 0x4c]
lea eax, [eax + edx*8]
cmp esi, eax
mov esi, dword [ebp - 0x2c]
jb 0x5f2446
test edx, edx
jne 0x5f1ee1
mov eax, 1
mov dword [ebp - 0x30], eax
jmp 0x5f1ef2
lea eax, [ecx + ecx]
mov dword [ebp - 0x30], eax
test eax, eax
js 0x5f1f2e
cmp eax, 0xfffffff
ja 0x5f1f2e
push 8
push eax
push dword [esi + 0x34]
call fcn.00668bf0
add esp, 0xc
test eax, eax
je 0x5f1f2e
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x34]
lea edx, [eax + ecx*8]
test edx, edx
je 0x5f1f28
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x38]
lea eax, [ecx + 1]
mov dword [esi + 0x38], eax
push 0xcd
push dword [0x74be78]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [esi + 0x5c], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
movq qword [ebp - 0x18], xmm0
push eax
push 0x18
push dword [esi + 0x5c]
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x5f1f6d
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x60], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x64], eax
push 0xd3
push 0xcf
push 0x3ea
lea eax, [esi + 0x70]
mov ecx, esi
push eax
call fcn.005f2a90
push 0x3eb
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [esi + 0x5c0]
call fcn.006115b0
push 0
push dword [esi + 0x5c4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xd4
push 0xd2
push 0x3e9
lea eax, [esi + 0x318]
mov ecx, esi
push eax
call fcn.005f2a90
cmp byte [esi + 0xc9c], 0
mov byte [esi + 0x868], 0
je 0x5f201c
push 0xce
push dword [0x74be78]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [esi + 0x50], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
movq qword [ebp - 0x18], xmm0
push eax
push 0x18
push dword [esi + 0x50]
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x5f204f
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x58], eax
jmp 0x5f204f
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xde33ffff
push eax
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x31c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3e8
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esi + 0x874], eax
mov eax, dword [esi + 0x58]
push 0x40
add eax, 0xfffffffc
mov dword [esi + 0x880], 2
push eax
push eax
push 1
push 0xdb
mov dword [esi + 0x87c], 5
mov dword [esi + 0x888], eax
mov dword [esi + 0x884], eax
push dword [0x74be78]
call dword [sym.imp.USER32.dll_LoadImageW]
push 0
mov dword [esi + 0x878], eax
call dword [sym.imp.USER32.dll_GetDC]
push 0x48
mov esi, eax
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
mov edi, eax
push 0
neg edi
call dword [sym.imp.USER32.dll_ReleaseDC]
push str.Tahoma
push 0
push 4
push 0
push 0
push 1
push 0
push 0
push 0
push 0x1f4
push 0
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edi, dword [ebp - 0x2c]
push 0x202
push 0x1bc
push 0x2d0
push 0
push 0
push 0
push dword [edi + 4]
mov dword [edi + 0x88c], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
lea ecx, [edi + 4]
call fcn.005f4ce0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea esi, [edi + 0x890]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005be590
mov edx, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x5f2196
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5f218c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f2450
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov esi, dword [esi]
call fcn.005b3a70
mov ecx, eax
test ecx, ecx
je 0x5f2455
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.005f4ea0
test al, al
jne 0x5f21d1
push esi
lea ecx, [ebp - 0x2c]
call fcn.005f38e0
mov esi, dword [ebp - 0x2c]
push esi
push dword [edi + 4]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_SetWindowTextW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x5f21fd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi + 4]
lea ecx, [edi + 0xc54]
call fcn.005fc430
push 0x3b8
lea esi, [edi + 0x898]
push 0
push esi
call fcn.006602b0
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [esi], 0x3b8
mov dword [edi + 0x89c], eax
mov dword [edi + 0x8a8], 0x7e8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 2
push eax
call fcn.005c36b0
push eax
call fcn.005be590
mov edx, dword [ebp - 0x34]
mov esi, edi
add esp, 8
mov ecx, edx
sub esi, edx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + esi + 0x8ae], ax
test ax, ax
jne 0x5f2270
mov esi, edi
mov ecx, edx
sub esi, edx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + esi + 0x9b6], ax
test ax, ax
jne 0x5f2290
test edx, edx
je 0x5f22b0
push edx
call fcn.006637b7
add esp, 4
mov ecx, dword [edi + 0x890]
lea edx, [edi + 0xbbc]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x5f22c0
push 0
push 0
push 0
push 1
push 0x80
mov dword [edi + 0xbb8], 0x7d0
mov dword [edi + 0xc3c], 1
mov dword [edi + 0x8a4], 0x17
push dword [0x74be78]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [edi + 0x8ac], eax
mov byte [edi + 0xc50], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x20
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00448c50
movups xmm0, xmmword [str.Quit_installation]
mov dword [ebp - 0x18], 0x11
mov dword [ebp - 0x14], 0x1f
movups xmmword [eax], xmm0
mov cl, byte [0x69f12c]
mov byte [eax + 0x10], cl
mov byte [eax + 0x11], 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005be590
mov edx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x5f23c1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5f23b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f245f
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push dword [ebp - 0x3c]
mov dword [edi + 0x68], eax
push 0x7d0
push 0
push eax
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x5f240b
push eax
call fcn.006637b7
add esp, 4
mov dword [ebp - 0x38], 0
call fcn.005d5160
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.005d5140
push 0x80004005
call fcn.005d5140
push 0x80004005
call fcn.005d5140
call fcn.0066375b
push 0x80004005
call fcn.005d5140
call fcn.0066375b
int3