Function at 0x10011730
Capabilities:
Get common file path
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005bf9b
mov eax, dword fs:[0]
push eax
mov eax, 0x1270
call fcn.1002ccf0
mov eax, dword [0x10080440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1274], ebx
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10044bd0
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.10044bd0
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.10044bd0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10044bd0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10044bd0
push 0x208
lea eax, [ebp - 0x1258]
push 0
push eax
call fcn.10044bd0
add esp, 0x48
lea eax, [ebp - 0xe46]
push 0x206
push 0
push eax
call fcn.10044bd0
movups xmm0, xmmword [str.SOFTWARE_]
mov eax, dword [0x10060118]
lea ecx, [ebp - 0xe48]
add esp, 0xc
mov dword [ebp - 0xe38], eax
movups xmmword [ebp - 0xe48], xmm0
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10011820
mov eax, dword [str.GoodZip]
mov dword [ecx], eax
mov eax, dword [0x1005ffa4]
mov dword [ecx + 4], eax
mov eax, dword [0x1005ffa8]
mov dword [ecx + 8], eax
mov eax, dword [0x1005ffac]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x1278]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xe48]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100119c0
lea eax, [ebp - 0x127c]
mov dword [ebp - 0x127c], 0x208
push eax
lea eax, [ebp - 0x1258]
push eax
push 0
push 0
push str.InstallPath
push dword [ebp - 0x1278]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100119c0
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x1258]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21a], ax
test ax, ax
jne 0x100118b0
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x100118d0
lea eax, [ebp - 0x420]
push eax
call fcn.10016850
add esp, 4
test al, al
je 0x100119c0
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.10044bd0
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x832], ax
test ax, ax
jne 0x10011920
lea ecx, [ebp - 0x830]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10011941
mov eax, dword [str.GDeZip.exe]
mov dword [ecx], eax
mov eax, dword [0x1005f710]
mov dword [ecx + 4], eax
mov eax, dword [0x1005f714]
mov dword [ecx + 8], eax
mov eax, dword [0x1005f718]
mov dword [ecx + 0xc], eax
mov eax, dword [0x1005f71c]
mov dword [ecx + 0x10], eax
mov ax, word [0x1005f720]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x830]
push eax
call fcn.10016850
add esp, 4
test al, al
je 0x100119c0
push dword [ebp - 0x1278]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebx + 0x44]
call fcn.1000f980
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebx + 0x74]
call fcn.1000f980
jmp 0x10011fed
push dword [ebp - 0x1278]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x2b
lea eax, [ebp - 0x628]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x628]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x100119f0
mov eax, dword [0x10060020]
lea edx, [ebp - 0x628]
mov dword [edi], eax
add edx, 0xfffffffe
nop dword [eax]
mov cx, word [edx + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x10011a10
mov esi, dword [str.GoodZip]
lea edi, [ebp - 0x628]
mov ebx, dword [0x1005ffa4]
add edi, 0xfffffffe
mov ecx, dword [0x1005ffa8]
mov dword [edx], esi
mov dword [edx + 4], ebx
mov dword [edx + 8], ecx
mov ecx, dword [0x1005ffac]
mov dword [edx + 0xc], ecx
nop dword [eax + eax]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x10011a50
lea ecx, [ebp - 0x628]
mov dword [edi], eax
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10011a70
mov eax, dword [0x1005ffa8]
mov dword [ecx], esi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov eax, dword [0x1005ffac]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x628]
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10011aa0
mov eax, dword [0x10060024]
mov dword [ecx], eax
mov eax, dword [0x10060028]
mov dword [ecx + 4], eax
mov ax, word [0x1006002c]
mov word [ecx + 8], ax
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0xa38]
push eax
push 0x1005f708
push str.InstallPath
push str.GDGlobalCfg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
nop
movzx eax, word [ebp + ecx - 0xa38]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21a], ax
test ax, ax
jne 0x10011af0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011b11
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10011c1a
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x10011b30
lea eax, [ebp - 0x420]
push eax
call fcn.10016850
add esp, 4
test al, al
je 0x10011c1a
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.10044bd0
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x832], ax
test ax, ax
jne 0x10011b80
lea ecx, [ebp - 0x830]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10011ba1
mov eax, dword [str.GDeZip.exe]
mov dword [ecx], eax
mov eax, dword [0x1005f710]
mov dword [ecx + 4], eax
mov eax, dword [0x1005f714]
mov dword [ecx + 8], eax
mov eax, dword [0x1005f718]
mov dword [ecx + 0xc], eax
mov eax, dword [0x1005f71c]
mov dword [ecx + 0x10], eax
mov ax, word [0x1005f720]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x830]
push eax
call fcn.10016850
add esp, 4
test al, al
je 0x10011c1a
mov esi, dword [ebp - 0x1274]
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x44]
call fcn.1000f980
lea eax, [ebp - 0x420]
push eax
lea ecx, [esi + 0x74]
call fcn.1000f980
jmp 0x10011fed
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x10011c37
mov eax, dword [ecx]
jmp 0x10011c39
mov eax, ecx
push 7
xor edx, edx
push str.roaming
mov word [eax], dx
call fcn.10008730
lea eax, [ebp - 0x1270]
push eax
call fcn.10017df0
add esp, 0x1c
cmp dword [ebp - 0x125c], 8
lea ecx, [ebp - 0x1270]
mov dword [ebp - 4], 0
lea edx, [ebp - 0xc40]
cmovae ecx, dword [ebp - 0x1270]
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x10011c80
lea ecx, [ebp - 0xc40]
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10011ca0
mov eax, dword [str.GoodZip]
lea edi, [ebp - 0xc40]
mov dword [ecx], eax
add edi, 0xfffffffe
mov eax, dword [0x1005ffa4]
mov dword [ecx + 4], eax
mov eax, dword [0x1005ffa8]
mov dword [ecx + 8], eax
mov eax, dword [0x1005ffac]
mov dword [ecx + 0xc], eax
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10011cd4
mov eax, dword [0x10060020]
xor ecx, ecx
mov dword [edi], eax
nop dword [eax]
movzx eax, word [ebp + ecx - 0xc40]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21a], ax
test ax, ax
jne 0x10011cf0
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x10011d10
lea eax, [ebp - 0x420]
push eax
call fcn.10016850
add esp, 4
test al, al
je 0x10011e40
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.10044bd0
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x1052], ax
test ax, ax
jne 0x10011d60
lea ecx, [ebp - 0x1050]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10011d81
mov eax, dword [str.GDeZip.exe]
mov dword [ecx], eax
mov eax, dword [0x1005f710]
mov dword [ecx + 4], eax
mov eax, dword [0x1005f714]
mov dword [ecx + 8], eax
mov eax, dword [0x1005f718]
mov dword [ecx + 0xc], eax
mov eax, dword [0x1005f71c]
mov dword [ecx + 0x10], eax
mov ax, word [0x1005f720]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x1050]
push eax
call fcn.10016850
add esp, 4
test al, al
je 0x10011e40
cmp word [ebp - 0x218], 0
jne 0x10011ddf
xor ecx, ecx
jmp 0x10011dff
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011df0
sub ecx, edx
sar ecx, 1
mov esi, dword [ebp - 0x1274]
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [esi + 0x44]
call fcn.10008730
cmp word [ebp - 0x420], 0
jne 0x10011e26
xor ecx, ecx
jmp 0x10011fbf
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011e30
jmp 0x10011fbb
lea ecx, [ebp - 0xa38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011e50
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10011f20
lea eax, [ebp - 0xa38]
push eax
call fcn.10016850
add esp, 4
test al, al
je 0x10011f20
xor ecx, ecx
movzx eax, word [ebp + ecx - 0xa38]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21a], ax
test ax, ax
jne 0x10011e80
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x10011ea0
cmp word [ebp - 0x218], ax
jne 0x10011ec5
xor ecx, ecx
jmp 0x10011edf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011ed0
sub ecx, edx
sar ecx, 1
mov esi, dword [ebp - 0x1274]
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [esi + 0x44]
call fcn.10008730
cmp word [ebp - 0x420], 0
jne 0x10011f06
xor ecx, ecx
jmp 0x10011fbf
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011f10
jmp 0x10011fbb
xor ecx, ecx
movzx eax, word [ebp + ecx - 0xc40]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21a], ax
test ax, ax
jne 0x10011f22
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x10011f40
cmp word [ebp - 0x218], ax
jne 0x10011f65
xor ecx, ecx
jmp 0x10011f7f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011f70
sub ecx, edx
sar ecx, 1
mov esi, dword [ebp - 0x1274]
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [esi + 0x44]
call fcn.10008730
cmp word [ebp - 0x420], 0
jne 0x10011fa3
xor ecx, ecx
jmp 0x10011fbf
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011fb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [esi + 0x74]
call fcn.10008730
mov eax, dword [ebp - 0x125c]
cmp eax, 8
jb 0x10011fed
inc eax
lea ecx, [ebp - 0x1270]
push eax
push dword [ebp - 0x1270]
call fcn.10008830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c8d2
mov esp, ebp
pop ebp
ret