Function at 0x472990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x604adb
mov eax, dword fs:[0]
push eax
sub esp, 0xa48
mov eax, dword [0x69def4]
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 dword [ebp - 0xa54], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0x800
mov dword [ebp - 0xa48], eax
lea eax, [ebp - 0xa18]
push 0
push eax
mov dword [ebp - 0xa4c], ebx
mov dword [ebp - 0xa3c], 0
call fcn.005d4b40
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0xa40], 0x800
push 0
push eax
call fcn.005d4b40
add esp, 0x18
mov dword [ebp - 0xa50], 0x208
call fcn.0048be40
test al, al
je 0x472a3b
push ecx
pop ebp
pop esp
pop ebp
pop esi
pop ecx
pop eax
push edx
push edx
push ebp
pop ebp
push ebx
push edx
pop edi
pop edx
push eax
pop edx
pop edi
push esi
pop eax
push edx
call fcn.0048c540
test al, al
je 0x472a5e
push esp
pop ebp
pop edx
push edx
push edx
pop ecx
push edi
pop esp
pop esi
pop esi
push esi
push ecx
push ecx
push esp
push ebx
pop ecx
push esp
pop esi
push esi
push ebp
pop esp
pop eax
push edx
push edi
push esp
pop esi
call fcn.0048bc80
test al, al
je 0x472a83
pop ebp
push edx
pop edx
pop eax
pop eax
push esp
pop esp
pop edx
push esp
push esp
push ecx
pop ebp
pop edx
push ecx
pop eax
push edx
pop ebx
push esi
pop ecx
pop ecx
push ecx
push edi
mov ebx, dword [ebp - 0xa4c]
call fcn.0048c460
test al, al
je 0x472aa1
pop ecx
pop edx
pop edi
push ecx
pop eax
push ecx
push esp
pop esi
push ebp
pop edi
push edx
pop ebp
push eax
pop edi
push ebp
pop edi
pop eax
push esp
pop edi
pop esi
push esp
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0xa44], 1
jb 0x472ab3
mov ebx, dword [ebx]
lea eax, [ebp - 0xa3c]
push eax
push 0xf013f
push 0
push ebx
push dword [ebp - 0xa48]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov dword [ebp - 0xa48], ebx
call fcn.0048bf20
test al, al
je 0x472af9
push edi
push ebx
pop ecx
push esi
pop ecx
push edi
push eax
pop edi
push esi
push ebx
pop esi
push ebp
pop edx
push ebp
push ecx
pop eax
push esp
pop esp
pop ebp
push eax
push esi
push eax
pop esi
pop edx
pop edx
push ebp
call fcn.0048c1c0
test al, al
je 0x472b1d
pop ebp
push edx
push ebx
push ebp
pop edi
push edi
push esi
push esi
push edx
push eax
pop eax
pop ebp
push esp
pop ebx
pop edx
pop edi
push esp
push ebx
pop esp
push edi
push edi
mov ebx, dword [ebp - 0xa48]
call fcn.0048bcf0
test al, al
je 0x472b37
push ebp
pop ecx
push edi
push esp
pop ecx
pop ebp
push ebp
push esp
pop ebp
pop ebp
pop edx
push eax
pop eax
pop ebp
push esi
pop esp
pop ecx
mov byte [ebp - 0xa31], 0
test ebx, ebx
jne 0x472e38
call fcn.0048bf20
test al, al
je 0x472b69
push edi
push ebx
pop ecx
push esi
pop ecx
push edi
push eax
pop edi
push esi
push ebx
pop esi
push ebp
pop edx
push ebp
push ecx
pop eax
push esp
pop esp
pop ebp
push eax
push esi
push eax
pop esi
pop edx
pop edx
push ebp
call fcn.0048c1c0
test al, al
je 0x472b87
pop ebp
push edx
push ebx
push ebp
pop edi
push edi
push esi
push esi
push edx
push eax
pop eax
pop ebp
push esp
pop ebx
pop edx
pop edi
push esp
push ebx
pop esp
push edi
push edi
call fcn.0048bcf0
test al, al
je 0x472ba1
push ebp
pop ecx
push edi
push esp
pop ecx
pop ebp
push ebp
push esp
pop ebp
pop ebp
pop edx
push eax
pop eax
pop ebp
push esi
pop esp
pop ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0xa44]
push eax
push 0
push 0x6097e8
push dword [ebp - 0xa3c]
call ebx
mov ecx, str.GoodZip_Shell_Extension
lea eax, [ebp - 0xa18]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x472bfc
test dx, dx
je 0x472bf8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x472bfc
add eax, 4
add ecx, 4
test dx, dx
jne 0x472bd6
xor eax, eax
jmp 0x472c01
sbb eax, eax
or eax, 1
test eax, eax
jne 0x472e31
call fcn.0048c150
test al, al
je 0x472c34
pop eax
pop esi
pop edx
pop ebp
pop eax
push ebx
pop ebx
push eax
push ecx
push esp
pop edi
push edi
push edx
pop edx
push eax
push edi
push ebx
push edx
pop edx
push ebp
pop eax
push edx
pop esi
push esi
pop ebp
push ebx
push eax
push esp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.005d4b40
add esp, 0xc
mov dword [ebp - 0xa40], 0x800
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xa38], 0
push eax
push 0xf013f
push 0
push str.InprocServer32
push dword [ebp - 0xa3c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x472cd5
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0xa44]
push eax
push 0
push 0x6097e8
push dword [ebp - 0xa38]
call ebx
lea eax, [ebp - 0xa50]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa44]
push eax
push 0
push str.ThreadingModel
push dword [ebp - 0xa38]
call ebx
push dword [ebp - 0xa38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0048c540
test al, al
je 0x472cfc
push esi
pop esi
pop eax
pop ecx
push ecx
pop esi
pop eax
push esi
push esp
push ebp
pop ebx
push eax
push edi
push esp
pop ebx
pop esp
pop edx
push edi
pop esp
push esi
push edx
push ebx
pop edi
push eax
pop ecx
push esp
pop ecx
push ecx
pop esi
push ebx
call fcn.0048bba0
test al, al
je 0x472d1e
pop esi
push eax
push esi
push edx
push ebx
pop edx
push edx
pop esi
pop esp
push ebx
pop edx
push edx
pop edi
pop edx
pop esp
push ebp
pop esi
push ebx
push ebx
push esp
pop edx
push edi
push ebp
push edi
push esp
call fcn.0048bcf0
test al, al
je 0x472d40
pop eax
push ebp
pop ebp
push ebp
push edi
push eax
pop esp
push ecx
push edi
push esi
push edx
pop ebx
push ebp
pop ebp
pop edx
pop ebp
push esp
pop ebx
push ecx
push eax
pop ecx
pop ebp
push eax
pop esp
push esi
mov ecx, dword [ebp - 0xa54]
lea eax, [ebp - 0xa30]
push eax
call fcn.00478610
cmp dword [ebp - 0xa1c], 8
lea eax, [ebp - 0xa30]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa18]
cmovae eax, dword [ebp - 0xa30]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x472d99
test dx, dx
je 0x472d95
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x472d99
add ecx, 4
add eax, 4
test dx, dx
jne 0x472d73
xor eax, eax
jmp 0x472d9e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x472e1f
call fcn.0048c2a0
test al, al
je 0x472dca
push esi
push esp
push ecx
pop ebp
push ecx
pop ecx
pop edi
push edx
pop edx
push ecx
pop esi
push ecx
push esp
push ecx
push esp
pop ebx
push esp
push ebp
pop ebx
push esi
pop esi
pop eax
push eax
push ebp
push ebp
push edx
push edx
mov ecx, str.Apartment
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x472dfb
test dx, dx
je 0x472df7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x472dfb
add eax, 4
add ecx, 4
test dx, dx
jne 0x472dd5
xor eax, eax
jmp 0x472e00
sbb eax, eax
or eax, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa30]
test eax, eax
jne 0x472e2c
call fcn.00405db0
mov byte [ebp - 0xa31], 1
jmp 0x472e38
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa30]
call fcn.00405db0
mov byte [ebp - 0xa31], 0
call fcn.0048bac0
test al, al
je 0x472e59
push esi
push eax
push edi
push eax
push ebp
push esp
pop esi
pop esp
pop ebx
pop esp
pop ecx
push ebx
pop edx
pop ebp
push esp
push edx
push ecx
push edi
push eax
push edx
push eax
push eax
pop esp
push ecx
call fcn.0048bcf0
test al, al
je 0x472e76
pop edx
pop esp
pop esp
push eax
pop esi
pop ecx
push ebx
pop esp
push esp
push esp
pop ebx
push esp
push edi
push esp
pop edi
push edx
push edx
pop ecx
push esp
pop ebp
call fcn.0048bf20
test al, al
je 0x472e9a
pop esp
push eax
push esp
pop ecx
push esi
pop eax
pop eax
push ecx
pop ebx
pop edx
pop esp
pop ebp
push ecx
push esp
push ebx
push ecx
push eax
pop ebp
push edx
pop esi
pop edi
push edi
push ecx
pop edx
push ecx
pop eax
pop eax
push dword [ebp - 0xa3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0xa31]
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.005cabbc
mov esp, ebp
pop ebp
ret 8