Function at 0x40175d
Capabilities:
Enumerate files on windows
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x40b7b0
sub esp, 0x87c
mov eax, dword [0x4b7870]
xor eax, esp
mov dword [esp + 0x878], eax
push esi
push 0x104
lea eax, [esp + 0x678]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40bed5
lea eax, [esp + 0x674]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40b7f0
sub eax, edx
sar eax, 1
cmp eax, 4
jbe 0x40bed5
push esi
lea ecx, [esp + 0xc]
push ecx
push esi
push 0x2001f
push esi
push esi
push esi
push str.SoftwareAdobePDF_Admin_Settings
push SysFreeString
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40bed5
push 0x24c
lea edx, [esp + 0x1c]
push esi
push edx
mov dword [esp + 0x20], esi
call fcn.004461c0
lea eax, [esp + 0x680]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40b854
sub eax, edx
sar eax, 1
mov ecx, 0x49b73c
lea edx, [esp + eax*2 + 0x66c]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
cmp ax, si
jne 0x40b871
push ebx
push ebp
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x684]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x40be1b
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
nop
lea edx, [esp + 0x4c]
push 0x2e
push edx
call fcn.00447f46
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40b91d
push str..ilk
push ebp
call fcn.00448297
add esp, 8
test eax, eax
je 0x40bdf6
push str..map
push ebp
call fcn.00448297
add esp, 8
test eax, eax
je 0x40bdf6
push str..manifest
push ebp
call fcn.00448297
add esp, 8
test eax, eax
je 0x40bdf6
push str..pdb
push ebp
call fcn.00448297
add esp, 8
test eax, eax
je 0x40bdf6
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40bdf6
push str..EXE
push ebp
mov dword [esp + 0x18], 0
call fcn.00448297
add esp, 8
test eax, eax
jne 0x40b964
mov eax, str..ENU
mov edx, ebp
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40b955
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
add ebp, 2
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40bed2
push 0x208
lea eax, [esp + 0x274]
push eax
push 0xc8
push esi
call edi
lea eax, [esp + 0x270]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b9b0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x274]
push edx
push 1
push 0
push str.Standard
push eax
call ebx
push 0x208
lea ecx, [esp + 0x274]
push ecx
push 0xc9
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40ba00
sub eax, ecx
mov ecx, dword [esp + 0x10]
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x274]
push eax
push 1
push 0
push 0x49b6a0
push ecx
call ebx
push 0x208
lea edx, [esp + 0x274]
push edx
push 0xca
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40ba50
mov edx, dword [esp + 0x10]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x274]
push ecx
push 1
push 0
push str.High_Quality_Print
push edx
call ebx
push 0x208
lea eax, [esp + 0x274]
push eax
push 0xcb
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40baa0
sub eax, ecx
sar eax, 1
lea ecx, [eax + eax]
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x274]
push edx
push 1
push 0
push str.Press_Quality
push eax
call ebx
push 0x208
lea ecx, [esp + 0x274]
push ecx
push 0xcc
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40baf0
sub eax, ecx
mov ecx, dword [esp + 0x10]
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x274]
push eax
push 1
push 0
push str.PDFX1a_2001
push ecx
call ebx
push 0x208
lea edx, [esp + 0x274]
push edx
push 0xd1
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40bb40
mov edx, dword [esp + 0x10]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x274]
push ecx
push 1
push 0
push str.PDFX1a_2001_JPN
push edx
call ebx
push 0x208
lea eax, [esp + 0x274]
push eax
push 0xce
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40bb90
sub eax, ecx
sar eax, 1
lea ecx, [eax + eax]
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x274]
push edx
push 1
push 0
push str.PDFX1a_2003
push eax
call ebx
push 0x208
lea ecx, [esp + 0x274]
push ecx
push 0xd0
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40bbe0
sub eax, ecx
mov ecx, dword [esp + 0x10]
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x274]
push eax
push 1
push 0
push str.PDFX1a_2003_JPN
push ecx
call ebx
push 0x208
lea edx, [esp + 0x274]
push edx
push 0xcd
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40bc30
mov edx, dword [esp + 0x10]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x274]
push ecx
push 1
push 0
push str.PDFX3_2002
push edx
call ebx
push 0x208
lea eax, [esp + 0x274]
push eax
push 0xd2
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40bc80
sub eax, ecx
sar eax, 1
lea ecx, [eax + eax]
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x274]
push edx
push 1
push 0
push str.PDFX3_2002_JPN
push eax
call ebx
push 0x208
lea ecx, [esp + 0x274]
push ecx
push 0xcf
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40bcd0
sub eax, ecx
mov ecx, dword [esp + 0x10]
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x274]
push eax
push 1
push 0
push str.PDFX3_2003
push ecx
call ebx
push 0x208
lea edx, [esp + 0x274]
push edx
push 0xd3
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40bd20
mov edx, dword [esp + 0x10]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x274]
push ecx
push 1
push 0
push str.PDFX3_2003_JPN
push edx
call ebx
push 0x208
lea eax, [esp + 0x274]
push eax
push 0xd4
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40bd70
sub eax, ecx
sar eax, 1
lea ecx, [eax + eax]
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x274]
push edx
push 1
push 0
push str.PDFA1b_2005_CMYK
push eax
call ebx
push 0x208
lea ecx, [esp + 0x274]
push ecx
push 0xd5
push esi
call edi
lea eax, [esp + 0x270]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40bdc0
sub eax, ecx
mov ecx, dword [esp + 0x10]
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x274]
push eax
push 1
push 0
push str.PDFA1b_2005_RGB
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b8b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push 0
push 0x49b498
push SysFreeString
call esi
test eax, eax
jne 0x40bed2
lea edx, [esp + 0x14]
push edx
push 0x2001f
push eax
push str.SoftwareAdobePDF_Admin_Settings
push SysFreeString
call esi
test eax, eax
jne 0x40bebe
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x274]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.JobOptionsFolder
push eax
mov dword [esp + 0x30], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40bebe
lea eax, [esp + 0x270]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40be96
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x274]
push edx
push 1
push 0
push 0
push eax
call ebx
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x87c]
pop esi
xor ecx, esp
call fcn.004461a7
add esp, 0x87c
ret