Function at 0x1000744d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
xor ebx, ebx
mov dword [esp + 0x2c], vtable.CCheckoutFileDialog.0
push esi
push edi
push 0x7f02
push ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 1
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0x60], eax
mov dword [esp + 0x10], ebx
call fcn.1000aa3d
mov esi, eax
test esi, esi
js 0x10007667
mov edi, dword [ebp + 8]
lea edx, [esp + 0x10]
push ebx
lea ecx, [edi + 0x28]
lea eax, [edi + 0x24]
mov dword [esp + 0x28], ecx
push ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [esp + 0x34], eax
call fcn.10009136
mov ebx, dword [esp + 0x10]
mov esi, eax
test esi, esi
js 0x1000765c
test ebx, ebx
je 0x10007657
cmp dword [edi + 0x24], 0
je 0x10007657
lea eax, [edi - 8]
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.100090a0
and dword [esp + 0x1c], 0
mov edi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 4
call fcn.10012d20
mov dword [esp + 0x18], eax
test eax, eax
je 0x1000758b
lea eax, [esp + 0x10]
push eax
call fcn.100474e6
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0x2001f
push eax
push 0
push ebx
push dword [esp + 0x28]
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x18]
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x14], ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1000758b
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push str.SimpleOffline
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
push dword [esp + 0x18]
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp dword [esp + 0x1c], 0
jbe 0x100075b3
mov edx, 0xa056
mov ecx, edi
call fcn.10012d20
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x1000765c
xor ecx, ecx
mov word [eax], cx
jmp 0x1000765c
mov di, word [ebp + 0x10]
test di, di
jne 0x100075c0
xor eax, eax
jmp 0x100075de
push ecx
movsx eax, di
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x2c]
push dword [eax]
mov eax, dword [esp + 0x34]
push dword [eax]
push dword [esp + 0x3c]
call fcn.10012d20
push 0xffffffffffffffff
pop ecx
sub eax, 0
je 0x10007601
sub eax, 1
je 0x100075fd
mov eax, dword [ebp + 0x24]
xor esi, esi
test eax, eax
je 0x1000765c
test di, di
je 0x100075a9
or ecx, ecx
jmp 0x100075ab
mov dword [esp + 0x14], ecx
push dword [ebp + 0x24]
xor eax, eax
cmp word [esp + 0x18], cx
mov ecx, dword [esp + 0x34]
sete al
push eax
push ebx
call fcn.10012d20
mov esi, eax
test di, di
je 0x1000765c
test esi, esi
jne 0x1000765c
push dword [ebp + 0x24]
mov ecx, dword [ebp + 8]
lea esi, [ebp + 0x14]
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push dword [esp + 0x28]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
mov dword [ecx + 0x1c], 1
push 0
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x4c]
mov edi, dword [ebp + 8]
mov esi, eax
and dword [edi + 0x1c], 0
jmp 0x1000765c
mov esi, 0x80004005
test ebx, ebx
je 0x10007667
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esp + 0x48], 0
je 0x10007677
push dword [esp + 0x48]
call fcn.10012d20
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20