Function at 0x43de00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599785
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x43e1f7
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
test eax, eax
je 0x43de64
push eax
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push str..doc
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x43df4d
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x5b3734
push eax
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x43dec3
cmp eax, 2
jne 0x43df43
lea ecx, [ebp - 0x14]
call fcn.00429bc0
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x43e201
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x43def9
push edx
lea ecx, [ebp - 0x14]
call fcn.00429e50
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x5b3734
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x43df43
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x43e201
cmp eax, dword [esi - 8]
jg 0x43e201
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43df4d
push eax
call edi
mov dword [ebp - 0x10], 0
cmp dword [esi - 0xc], 0
jne 0x43df74
push 0
push str.Extension
push dword [0x60e080]
push 0x80000000
call fcn.00463ef0
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.00429bc0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43df86
push eax
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push str..xls
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x43e06f
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x5b3734
push eax
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x43dfe3
cmp eax, 2
je 0x43dfe3
mov esi, dword [ebp - 0x14]
jmp 0x43e063
lea ecx, [ebp - 0x14]
call fcn.00429bc0
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x43e201
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x43e019
push edx
lea ecx, [ebp - 0x14]
call fcn.00429e50
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x5b3734
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x43e063
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x43e201
cmp eax, dword [esi - 8]
jg 0x43e201
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43e072
push eax
call edi
jmp 0x43e072
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
cmp dword [esi - 0xc], 0
jne 0x43e099
push 0
push str.Extension
push dword [0x60e084]
push 0x80000000
call fcn.00463ef0
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.00429bc0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43e0ab
push eax
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push str..ppt
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x43e194
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x5b3734
push eax
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x43e108
cmp eax, 2
je 0x43e108
mov esi, dword [ebp - 0x14]
jmp 0x43e188
lea ecx, [ebp - 0x14]
call fcn.00429bc0
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x43e201
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x43e13e
push edx
lea ecx, [ebp - 0x14]
call fcn.00429e50
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x5b3734
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x43e188
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x43e201
cmp eax, dword [esi - 8]
jg 0x43e201
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43e197
push eax
call edi
jmp 0x43e197
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
cmp dword [esi - 0xc], 0
jne 0x43e1be
push 0
push str.Extension
push dword [0x60e088]
push 0x80000000
call fcn.00463ef0
add esp, 0x10
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43e1d6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x43e1e0
push ecx
call edi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
push 0x80070057
call fcn.00429b00
int3