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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1050
call fcn.10015a90
mov eax, dword [0x1005a2c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x824]
mov dword [ebp - 0x1048], ecx
push 0
push eax
call fcn.1002ea70
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.1002ea70
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.1002ea70
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1002ea70
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1002ea70
push 0x208
lea eax, [ebp - 0x1044]
push 0
push eax
call fcn.1002ea70
add esp, 0x48
lea eax, [ebp - 0x824]
push 0
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x824]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x100072e1
mov eax, dword [0x10044324]
lea edx, [ebp - 0x824]
mov dword [edi], eax
add edx, 0xfffffffe
nop dword [eax]
mov cx, word [edx + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x10007300
mov esi, dword [0x10044574]
lea edi, [ebp - 0x824]
mov ebx, dword [str.odZip]
add edi, 0xfffffffe
mov ecx, dword [0x1004457c]
mov dword [edx], esi
mov dword [edx + 4], ebx
mov dword [edx + 8], ecx
mov ecx, dword [0x10044580]
mov dword [edx + 0xc], ecx
nop dword [eax + eax]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x10007340
lea ecx, [ebp - 0x824]
mov dword [edi], eax
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10007360
mov eax, dword [0x1004457c]
mov dword [ecx], esi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov eax, dword [0x10044580]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x824]
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10007390
mov eax, dword [str..ini]
mov dword [ecx], eax
mov eax, dword [0x10044940]
mov dword [ecx + 4], eax
mov ax, word [0x10044944]
mov word [ecx + 8], ax
lea eax, [ebp - 0x824]
push eax
push 0x104
lea eax, [ebp - 0xc34]
push eax
push 0x10044320
push str.InstallPath
push str.GDGlobalCfg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
nop
movzx eax, word [ebp + ecx - 0xc34]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x100073e0
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007401
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x100074e5
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x20c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x10007420
lea eax, [ebp - 0x414]
push eax
call fcn.10001a20
add esp, 4
test al, al
je 0x100074e5
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.1002ea70
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x414]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x61e], ax
test ax, ax
jne 0x10007470
lea ecx, [ebp - 0x61c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10007491
mov eax, dword [str.GDeZip.exe]
mov dword [ecx], eax
mov eax, dword [0x10044f60]
mov dword [ecx + 4], eax
mov eax, dword [0x10044f64]
mov dword [ecx + 8], eax
mov eax, dword [0x10044f68]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10044f6c]
mov dword [ecx + 0x10], eax
mov ax, word [0x10044f70]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x61c]
push eax
call fcn.10001a20
add esp, 4
test al, al
jne 0x1000769d
push 0x206
lea eax, [ebp - 0xe3a]
push 0
push eax
call fcn.1002ea70
movups xmm0, xmmword [str.SOFTWARE_]
mov eax, dword [0x10044970]
lea ecx, [ebp - 0xe3c]
add esp, 0xc
mov dword [ebp - 0xe2c], eax
movups xmmword [ebp - 0xe3c], xmm0
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10007520
mov eax, dword [0x10044574]
mov dword [ecx], eax
mov eax, dword [str.odZip]
mov dword [ecx + 4], eax
mov eax, dword [0x1004457c]
mov dword [ecx + 8], eax
mov eax, dword [0x10044580]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x104c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xe3c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100076d2
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1050], 0x208
push eax
lea eax, [ebp - 0x1044]
push eax
push 0
push 0
push str.InstallPath
push dword [ebp - 0x104c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100076d2
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x1044]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x100075b0
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x20c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x100075d0
lea eax, [ebp - 0x414]
push eax
call fcn.10001a20
add esp, 4
test al, al
je 0x100076d2
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.1002ea70
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x414]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x61e], ax
test ax, ax
jne 0x10007620
lea ecx, [ebp - 0x61c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10007641
mov eax, dword [str.GDeZip.exe]
mov dword [ecx], eax
mov eax, dword [0x10044f60]
mov dword [ecx + 4], eax
mov eax, dword [0x10044f64]
mov dword [ecx + 8], eax
mov eax, dword [0x10044f68]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10044f6c]
mov dword [ecx + 0x10], eax
mov ax, word [0x10044f70]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x61c]
push eax
call fcn.10001a20
add esp, 4
test al, al
je 0x100076d2
push dword [ebp - 0x104c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x1048]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x44]
call fcn.10001940
lea eax, [ebp - 0x414]
push eax
lea ecx, [esi + 0x74]
call fcn.10001940
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015a7a
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x104c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x26
lea eax, [ebp - 0xa2c]
push eax
push 0
call fcn.1000c040
lea edi, [ebp - 0xa2c]
add esp, 0x10
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10007700
mov eax, dword [0x10044324]
lea edx, [ebp - 0xa2c]
mov dword [edi], eax
add edx, 0xfffffffe
nop dword [eax]
mov cx, word [edx + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x10007720
mov ecx, dword [0x10044574]
lea edi, [ebp - 0xa2c]
mov dword [edx], ecx
add edi, 0xfffffffe
mov ecx, dword [str.odZip]
mov dword [edx + 4], ecx
mov ecx, dword [0x1004457c]
mov dword [edx + 8], ecx
mov ecx, dword [0x10044580]
mov dword [edx + 0xc], ecx
nop dword [eax + eax]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x10007760
mov dword [edi], eax
xor ecx, ecx
movzx eax, word [ebp + ecx - 0xa2c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x10007770
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x20c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x10007790
lea eax, [ebp - 0x414]
push eax
call fcn.10001a20
add esp, 4
test al, al
je 0x100078c0
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.1002ea70
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x414]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x61e], ax
test ax, ax
jne 0x100077e0
lea ecx, [ebp - 0x61c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10007801
mov eax, dword [str.GDeZip.exe]
mov dword [ecx], eax
mov eax, dword [0x10044f60]
mov dword [ecx + 4], eax
mov eax, dword [0x10044f64]
mov dword [ecx + 8], eax
mov eax, dword [0x10044f68]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10044f6c]
mov dword [ecx + 0x10], eax
mov ax, word [0x10044f70]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x61c]
push eax
call fcn.10001a20
add esp, 4
test al, al
je 0x100078c0
cmp word [ebp - 0x20c], 0
jne 0x1000785f
xor ecx, ecx
jmp 0x1000787f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007870
sub ecx, edx
sar ecx, 1
mov esi, dword [ebp - 0x1048]
lea eax, [ebp - 0x20c]
push ecx
push eax
lea ecx, [esi + 0x44]
call fcn.10002a50
cmp word [ebp - 0x414], 0
je 0x10007a1f
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100078b0
jmp 0x10007a3b
lea ecx, [ebp - 0xc34]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100078d0
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x100079a0
lea eax, [ebp - 0xc34]
push eax
call fcn.10001a20
add esp, 4
test al, al
je 0x100079a0
xor ecx, ecx
movzx eax, word [ebp + ecx - 0xc34]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x10007900
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x20c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x10007920
cmp word [ebp - 0x20c], ax
jne 0x10007945
xor ecx, ecx
jmp 0x1000795f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007950
sub ecx, edx
sar ecx, 1
mov esi, dword [ebp - 0x1048]
lea eax, [ebp - 0x20c]
push ecx
push eax
lea ecx, [esi + 0x44]
call fcn.10002a50
cmp word [ebp - 0x414], 0
je 0x10007a1f
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007990
jmp 0x10007a3b
xor ecx, ecx
movzx eax, word [ebp + ecx - 0xa2c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x100079a2
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x20c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x100079c0
cmp word [ebp - 0x20c], ax
jne 0x100079e5
xor ecx, ecx
jmp 0x100079ff
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100079f0
sub ecx, edx
sar ecx, 1
mov esi, dword [ebp - 0x1048]
lea eax, [ebp - 0x20c]
push ecx
push eax
lea ecx, [esi + 0x44]
call fcn.10002a50
cmp word [ebp - 0x414], 0
jne 0x10007a23
xor ecx, ecx
jmp 0x10007a3f
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007a30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x414]
push eax
lea ecx, [esi + 0x74]
call fcn.10002a50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10015a7a
mov esp, ebp
pop ebp
ret