Function at 0x473fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523252
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x579630]
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 edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x280], 0
call fcn.00479540
xor cl, cl
mov byte [ebp - 0x2bd], cl
test ebx, ebx
je 0x474d4a
cmp word [ebx], 0
je 0x474d4a
push 0x104
push ebx
call fcn.004f9cb4
add esp, 8
cmp eax, 0x104
je 0x474c02
xor eax, eax
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x254], 0
mov word [ebp - 0x264], ax
cmp word [ebx], ax
jne 0x47407a
xor ecx, ecx
jmp 0x47408f
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474080
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x264]
call fcn.00407750
cmp byte [ebp + 0x14], 0
mov dword [ebp - 4], 0
je 0x474172
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.00443e10
mov esi, eax
add esp, 8
lea eax, [ebp - 0x264]
cmp eax, esi
je 0x47415b
cmp dword [ebp - 0x250], 8
jb 0x4740ea
push dword [ebp - 0x264]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x254], 0
mov word [ebp - 0x264], ax
cmp dword [esi + 0x14], 8
jae 0x474128
mov eax, dword [esi + 0x10]
inc eax
je 0x474136
add eax, eax
push eax
lea eax, [ebp - 0x264]
push esi
push eax
call fcn.004f7f60
add esp, 0xc
jmp 0x474136
mov eax, dword [esi]
mov dword [ebp - 0x264], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x254], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x250], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x2d0], 8
jb 0x474172
push dword [ebp - 0x2e4]
call fcn.004085be
add esp, 4
cmp dword [ebp - 0x254], 0
je 0x474d2b
lea eax, [ebp - 0x264]
push 0xffff
push eax
call fcn.00420020
add esp, 8
test al, al
jne 0x474d2b
xor eax, eax
mov dword [ebp - 0x268], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x27c], ax
lea ecx, [ebp - 0x27c]
lea eax, [ebp - 0x264]
mov dword [ebp - 0x26c], 0
push eax
call fcn.00407d00
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov ebx, dword [ebp + 0x10]
mov byte [ebp - 4], 2
cmp ebx, 2
jne 0x474399
cmp dword [ebp - 0x268], 8
lea eax, [ebp - 0x27c]
cmovae eax, dword [ebp - 0x27c]
push eax
call fcn.00410a18
mov esi, eax
add esp, 4
mov dword [ebp - 0x280], esi
mov byte [ebp - 4], 3
test esi, esi
jne 0x47424d
lea ecx, [ebp - 0x248]
call fcn.004087d0
lea ecx, [ebp - 0x27c]
call fcn.004087d0
lea ecx, [ebp - 0x264]
call fcn.004087d0
jmp 0x474c02
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x47426e
push esi
mov byte [ebp - 4], 2
call fcn.004039d2
add esp, 4
jmp 0x474227
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474273
sub ecx, edx
sar ecx, 1
jne 0x474293
push esi
mov byte [ebp - 4], 2
call fcn.004039d2
add esp, 4
jmp 0x474227
push 0xffffffffffffffff
push ecx
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00407cc0
mov ebx, eax
lea eax, [ebp - 0x248]
cmp eax, ebx
je 0x474340
cmp dword [ebp - 0x234], 8
jb 0x4742cf
push dword [ebp - 0x248]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp dword [ebx + 0x14], 8
jae 0x47430d
mov eax, dword [ebx + 0x10]
inc eax
je 0x47431b
add eax, eax
push eax
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.004f7f60
add esp, 0xc
jmp 0x47431b
mov eax, dword [ebx]
mov dword [ebp - 0x248], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x238], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [ebp - 0x2d0], 8
jb 0x474357
push dword [ebp - 0x2e4]
call fcn.004085be
add esp, 4
cmp word [esi], 0
jne 0x474361
xor ecx, ecx
jmp 0x474375
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474366
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x27c]
call fcn.00407750
mov ebx, 1
mov byte [ebp - 4], 2
push esi
mov dword [ebp + 0x10], ebx
call fcn.004039d2
add esp, 4
jmp 0x47439e
cmp ebx, 1
jne 0x4743c3
lea eax, [ebp - 0x27c]
push eax
call fcn.00478ae0
add esp, 4
test al, al
je 0x4743c3
push 1
push 0x52da1c
lea ecx, [ebp - 0x27c]
call fcn.0040ef80
cmp ebx, 1
mov eax, 0x2110000
mov ebx, dword [ebp + 0x18]
mov ecx, 0x110000
cmove ecx, eax
mov edx, 3
push 0
push ecx
push 3
test bl, 1
mov eax, 1
push 0
cmovne edx, eax
cmp dword [ebp - 0x268], 8
push edx
lea eax, [ebp - 0x27c]
cmovae eax, dword [ebp - 0x27c]
push 0x120089
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp dword [edi], esi
je 0x47445d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov ebx, eax
test ecx, ecx
je 0x474443
cmp ecx, 0xffffffff
je 0x474443
call fcn.00410f80
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x47443d
call fcn.004103b0
mov dword [edi], 0
test esi, esi
je 0x474453
cmp esi, 0xffffffff
je 0x474453
mov dword [edi], esi
call fcn.00410f80
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp + 0x18]
mov eax, dword [edi]
test eax, eax
je 0x474227
cmp eax, 0xffffffff
je 0x474227
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x474490
mov ecx, edi
call fcn.00410ed0
lea ecx, [edi + 4]
call fcn.00410ed0
jmp 0x474227
test bl, 2
je 0x4744bb
lea eax, [ebp - 0x27c]
mov ecx, edi
push eax
call fcn.004751a0
test al, al
jne 0x4744bb
mov ecx, edi
call fcn.00410ed0
lea ecx, [edi + 4]
call fcn.00410ed0
jmp 0x474227
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c4], eax
je 0x474911
call fcn.00408d90
cmp eax, 3
jl 0x47452c
push 0
lea eax, [ebp - 0x230]
push eax
push dword [edi]
call fcn.004761d0
add esp, 0xc
test al, al
jne 0x47452c
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], 0
cmovae eax, dword [ebp - 0x230]
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x474911
cmp dword [ebp - 0x238], 0
je 0x47461c
mov ebx, dword [ebp - 0x234]
lea eax, [ebp - 0x248]
mov edx, dword [ebp - 0x21c]
cmp ebx, 8
mov esi, dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x248]
cmp word [eax], 0x5c
jne 0x4745ca
cmp edx, 8
lea eax, [ebp - 0x230]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x4745ca
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x248]
call fcn.00407cc0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.0040af40
cmp dword [ebp - 0x2d0], 8
mov byte [ebp - 4], 4
jb 0x47461c
push dword [ebp - 0x2e4]
call fcn.004085be
add esp, 4
jmp 0x47461c
cmp ebx, 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
cmp word [eax], 0x5c
je 0x474606
cmp edx, 8
lea eax, [ebp - 0x230]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x474606
push 1
push 0x52da1c
lea ecx, [ebp - 0x230]
call fcn.0040ef80
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040af40
xor ecx, ecx
xor eax, eax
mov esi, 0x57f514
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x47473f
mov dword [ebp - 0x2c8], eax
lea eax, [ebp - 0x2c8]
push eax
push 1
push 0
push str.4202392
call fcn.0040a3f0
add esp, 0x10
movzx ecx, ax
cmp word [ebp - 0x2c8], 0
je 0x474734
xor eax, eax
mov dword [ebp - 0x2bc], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004f9050
push str.SoftwareAdobeAdobe_AcrobatDCFeatureState
lea eax, [ebp - 0x218]
mov dword [ebp - 0x284], 0
push 0x104
push eax
mov dword [ebp - 0x24c], 0
mov ebx, 1
mov dword [ebp - 0x280], 4
call fcn.00403897
add esp, 0x18
lea eax, [ebp - 0x2bc]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x218]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x474731
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x284]
push eax
push 0
push str.4202392
push dword [ebp - 0x2bc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x474725
cmp dword [ebp - 0x284], 4
jne 0x474725
xor ebx, ebx
cmp dword [ebp - 0x24c], ebx
setne bl
push dword [ebp - 0x2bc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, bx
xor eax, eax
test cx, cx
sete al
inc eax
xchg dword [esi], eax
cmp dword [0x57f514], 1
jne 0x474762
cmp dword [ebp - 0x254], 0x104
jae 0x474762
mov ecx, dword [ebp - 0x220]
cmp ecx, 0x104
jae 0x47479f
lea eax, [ebp - 0x230]
push 0xffff
push eax
call fcn.00420020
add esp, 8
test al, al
je 0x474799
mov ecx, edi
call fcn.00410ed0
lea ecx, [edi + 4]
call fcn.00410ed0
lea ecx, [ebp - 0x230]
call fcn.004087d0
jmp 0x474227
mov ecx, dword [ebp - 0x220]
mov esi, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x230]
cmp ecx, 3
jne 0x4747f8
cmp esi, 8
jb 0x4747bd
mov ebx, edx
test edx, edx
je 0x4747f8
jmp 0x4747c3
lea ebx, [ebp - 0x230]
movzx eax, word [ebx]
test ax, ax
je 0x4747f8
cmp eax, 0x41
jb 0x4747d5
cmp eax, 0x5a
jbe 0x4747de
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x4747f8
cmp word [ebx + 2], 0x3a
jne 0x4747f8
cmp esi, 8
lea eax, [ebp - 0x230]
cmovae eax, edx
cmp word [eax + 4], 0x5c
je 0x474835
cmp esi, 8
lea eax, [ebp - 0x230]
cmovae eax, edx
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x474835
lea ebx, [ecx - 1]
cmp ecx, ebx
jae 0x47481d
push str.invalid_string_position
call fcn.004f78dc
cmp esi, 8
mov dword [ebp - 0x220], ebx
lea eax, [ebp - 0x230]
cmovae eax, edx
xor ecx, ecx
mov word [eax + ebx*2], cx
cmp byte [ebp + 0x14], 0
je 0x474911
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.00423c70
mov esi, eax
add esp, 8
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x4748ed
cmp dword [ebp - 0x21c], 8
jb 0x47487c
push dword [ebp - 0x230]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp dword [esi + 0x14], 8
jae 0x4748ba
mov eax, dword [esi + 0x10]
inc eax
je 0x4748c8
add eax, eax
push eax
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.004f7f60
add esp, 0xc
jmp 0x4748c8
mov eax, dword [esi]
mov dword [ebp - 0x230], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x21c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x2d0], 8
jb 0x474904
push dword [ebp - 0x2e4]
call fcn.004085be
add esp, 4
cmp dword [ebp - 0x220], 0
je 0x47477a
push 0x34
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.004f9050
add esp, 0xc
lea eax, [ebp - 0x2b8]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x474a5e
mov eax, dword [ebp - 0x2b8]
mov ebx, eax
shr ebx, 4
and bl, 1
test al, 0x40
jne 0x4749af
xor ecx, ecx
mov edx, 0x57f524
xor eax, eax
lock cmpxchg dword [edx], ecx
mov esi, eax
test esi, esi
jne 0x474993
push str.snacnp64.dll
lea esi, [eax + 2]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x474981
push str.snacnp.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x474986
mov esi, 1
mov ecx, esi
xor eax, eax
mov edx, 0x57f524
lock cmpxchg dword [edx], ecx
cmp esi, 1
je 0x4749a4
test dword [ebp - 0x2b8], 0x400
jne 0x4749af
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4749e5
test bl, bl
je 0x4749ee
mov eax, dword [edi]
test eax, eax
je 0x474b1f
cmp eax, 0xffffffff
je 0x474b1f
call fcn.00410f80
push dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
test eax, eax
jne 0x4749da
call fcn.004103b0
mov dword [edi], 0
jmp 0x474b25
cmp eax, 1
jne 0x4749ee
test bl, bl
je 0x4749af
call fcn.00408d90
cmp eax, 3
jl 0x474a2a
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0
push eax
push 0
push dword [edi]
call fcn.00477260
mov ecx, dword [ebp - 0x29c]
add esp, 0xc
test al, al
cmovne ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x29c], ecx
movdqu xmm0, xmmword [ebp - 0x2b8]
mov eax, dword [ebp - 0x288]
mov byte [edi + 0x3c], 1
movdqu xmmword [edi + 8], xmm0
movdqu xmm0, xmmword [ebp - 0x2a8]
movdqu xmmword [edi + 0x18], xmm0
movdqu xmm0, xmmword [ebp - 0x298]
movdqu xmmword [edi + 0x28], xmm0
mov dword [edi + 0x38], eax
mov ebx, dword [ebp - 0x2c4]
test ebx, ebx
je 0x474c6f
cmp dword [ebp - 0x220], 0
je 0x474c37
xor ecx, ecx
xor eax, eax
mov esi, 0x57f514
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x474adb
mov dword [ebp - 0x2bc], eax
lea eax, [ebp - 0x2bc]
push eax
push 1
push 0
push str.4202392
call fcn.0040a3f0
add esp, 0x10
movzx ecx, ax
cmp word [ebp - 0x2bc], 0
je 0x474ad0
lea eax, [ebp - 0x2bc]
push eax
push 0
push 0
push str.4202392
call fcn.0040a3f0
add esp, 0x10
movzx ecx, ax
xor eax, eax
test cx, cx
sete al
inc eax
xchg dword [esi], eax
cmp dword [0x57f514], 1
jne 0x474b00
cmp dword [ebp - 0x254], 0x104
jae 0x474b00
cmp dword [ebp - 0x220], 0x104
jae 0x474c37
lea eax, [ebp - 0x230]
cmp ebx, eax
je 0x474c68
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00407d00
jmp 0x474c68
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 4]
test eax, eax
je 0x474b4b
cmp eax, 0xffffffff
je 0x474b4b
call fcn.00410f80
push dword [edi + 4]
call ebx
test eax, eax
jne 0x474b44
call fcn.004103b0
mov dword [edi + 4], 0
cmp dword [ebp - 0x21c], 8
jb 0x474b62
push dword [ebp - 0x230]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
jb 0x474b96
push dword [ebp - 0x248]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x268], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x474bca
push dword [ebp - 0x27c]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x268], 7
cmp dword [ebp - 0x250], 8
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
jb 0x474d3d
push dword [ebp - 0x264]
call fcn.004085be
add esp, 4
mov ebx, dword [ebp - 0x2c4]
mov cl, byte [ebp - 0x2bd]
mov eax, dword [edi]
test eax, eax
je 0x474d55
cmp eax, 0xffffffff
je 0x474d55
test ebx, ebx
je 0x474c2d
test cl, cl
je 0x474d55
mov eax, 1
jmp 0x474d57
mov esi, dword [ebp - 0x2cc]
cmp word [esi], 0
jne 0x474c47
xor ecx, ecx
jmp 0x474c5f
mov ecx, esi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474c50
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.00407750
mov byte [ebp - 0x2bd], 1
cmp dword [ebp - 0x21c], 8
jb 0x474c86
push dword [ebp - 0x230]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
jb 0x474cba
push dword [ebp - 0x248]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x268], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x474cee
push dword [ebp - 0x27c]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x268], 7
cmp dword [ebp - 0x250], 8
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
jb 0x474c08
push dword [ebp - 0x264]
call fcn.004085be
add esp, 4
jmp 0x474c08
cmp dword [ebp - 0x250], 8
jb 0x474c02
jmp 0x474bf4
mov ebx, dword [ebp - 0x2c4]
mov cl, al
jmp 0x474c0e
mov ebx, dword [ebp - 0x2c4]
jmp 0x474c0e
xor eax, eax
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.00401590
mov esp, ebp
pop ebp
ret 0x14