Function at 0x755542a3
Capabilities:
Print debug messages
Query environment variable
Query or enumerate registry value

Disassembly:
push 0x90
push 0x75561708
call fcn.75558b08
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x74], edx
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x26], bl
mov byte [ebp - 0x25], bl
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], bl
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0xa0], ebx
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x9c]
rep stosd dword es:[edi], eax
mov word [ebp - 0x7c], ax
lea edi, [ebp - 0x7a]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x14], ebx
je 0x755548bf
cmp dword [ebp + 0x14], 0x3e7
ja 0x755548bf
cmp edx, ebx
je 0x7555440c
cmp byte [edx], bl
je 0x7555440c
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x75554359
sub eax, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ebx
mov esi, str.SOFTWAREMicrosoftCryptographyDefaultsProvider_
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x75554372
sub eax, edi
lea ecx, [ebp - 0x34]
push ecx
push eax
push dword [ebp - 0x30]
call fcn.75552d95
test eax, eax
jl 0x75554402
lea eax, [ebp - 0x34]
push eax
push 1
push dword [ebp - 0x34]
call fcn.75552d95
test eax, eax
jl 0x75554402
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + 1]
mov dword [ebp - 0x6c], eax
cmp eax, ecx
jb 0x75554402
push dword [ebp - 0x34]
push 0x40
mov edi, dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
call edi
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jne 0x755543c6
push 8
jmp 0x755548c4
push dword [ebp - 0x6c]
push 0x40
call edi
mov dword [ebp - 0x3c], eax
cmp eax, ebx
je 0x755543bf
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
push eax
call sub.ntdll.dll_strcpy_s
push esi
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call sub.ntdll.dll_strcpy_s
push dword [ebp - 0x74]
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call sub.ntdll.dll_strcat_s
add esp, 0x24
jmp 0x7555457e
push 0x216
jmp 0x755548c4
mov eax, str.SOFTWAREMicrosoftCryptographyDefaultsProvider_TypesType
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x75554414
sub eax, edx
mov ecx, eax
mov dword [ebp - 0x34], ecx
lea eax, [ecx + 5]
cmp eax, ecx
jb 0x75554402
mov dword [ebp - 0x34], eax
push eax
push 0x40
mov edi, dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
call edi
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, ebx
je 0x755543bf
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 0x14]
call fcn.7555426e
push str.SOFTWAREMicrosoftCryptographyDefaultsProvider_TypesType
push dword [ebp - 0x34]
push esi
call sub.ntdll.dll_strcpy_s
lea eax, [ebp - 0x23]
push eax
push dword [ebp - 0x34]
push esi
call sub.ntdll.dll_strcat_s
add esp, 0x18
lea eax, [ebp - 0x38]
push eax
push 0x20019
push ebx
push esi
push 0x80000002
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExA
cmp eax, ebx
je 0x75554490
push 0x80090017
jmp 0x755548c4
lea eax, [ebp - 0x30]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
push 0x755516a8
push dword [ebp - 0x38]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
jne 0x75554486
push dword [ebp - 0x2c]
call dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], ebx
mov esi, str.SOFTWAREMicrosoftCryptographyDefaultsProvider_
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x755544c4
sub eax, ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push dword [ebp - 0x30]
call fcn.75552d95
test eax, eax
jl 0x75554402
lea eax, [ebp - 0x34]
push eax
push 1
push dword [ebp - 0x34]
call fcn.75552d95
test eax, eax
jl 0x75554402
mov eax, dword [ebp - 0x30]
lea ecx, [eax + 1]
cmp ecx, eax
jb 0x75554402
push dword [ebp - 0x34]
push 0x40
call edi
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x755543bf
mov eax, dword [ebp - 0x30]
inc eax
push eax
push 0x40
call edi
mov dword [ebp - 0x3c], eax
cmp eax, ebx
je 0x755543bf
push esi
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call sub.ntdll.dll_strcpy_s
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x4c]
push eax
push ebx
push 0x755516a8
push dword [ebp - 0x38]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
jne 0x75554486
push dword [ebp - 0x3c]
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call sub.ntdll.dll_strcat_s
add esp, 0xc
push dword [ebp - 0x38]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey
mov dword [ebp - 0x38], ebx
lea eax, [ebp - 0x38]
push eax
push 0x20019
push ebx
push dword [ebp - 0x2c]
push 0x80000002
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExA
cmp eax, ebx
je 0x755545a3
push 0x80090019
jmp 0x755548c4
push dword [ebp - 0x2c]
call dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push 0x75551314
push dword [ebp - 0x38]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
je 0x755545e1
push 0x8009001a
jmp 0x755548c4
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp + 0x14]
je 0x755545f3
push 0x8009001b
jmp 0x755548c4
lea eax, [ebp - 0x30]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
mov esi, 0x7555169c
push esi
push dword [ebp - 0x38]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
jne 0x755545d7
push dword [ebp - 0x30]
push 0x40
call edi
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x755543bf
lea ecx, [ebp - 0x30]
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push esi
push dword [ebp - 0x38]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
jne 0x755545d7
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x50], ebx
push ebx
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.API_MS_Win_Core_ProcessEnvironment_L1_1_0.dll_ExpandEnvironmentStringsA]
call esi
mov dword [ebp - 0x50], eax
cmp eax, ebx
je 0x755548ca
push eax
push 0x40
call edi
mov dword [ebp - 0x48], eax
cmp eax, ebx
je 0x755543bf
push dword [ebp - 0x50]
push eax
push dword [ebp - 0x2c]
call esi
mov dword [ebp - 0x50], eax
cmp eax, ebx
je 0x755548ca
push dword [ebp - 0x2c]
call dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.75552e0d
test eax, eax
jne 0x755547b2
push 0x75563720
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_EnterCriticalSection]
mov dword [ebp - 0x60], 1
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.75552e0d
test eax, eax
jne 0x755547a4
push esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.ntdll.dll_RtlCreateUnicodeStringFromAsciiz]
test al, al
je 0x75554782
push dword [ebp - 0x78]
call sym.CRYPTSP.dll_CheckSignatureInFile
mov esi, eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
cmp esi, ebx
jne 0x75554782
lea eax, [ebp - 0x30]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
mov esi, 0x75551690
push esi
push dword [ebp - 0x38]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
je 0x75554731
push 0x369
push 0x75551638
call sub.ntdll.dll_DbgPrint
pop ecx
pop ecx
push 0x80090006
jmp 0x755548c4
push dword [ebp - 0x30]
push 0x40
call edi
mov dword [ebp - 0x58], eax
cmp eax, ebx
je 0x755543bf
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x4c]
push eax
push ebx
push esi
push dword [ebp - 0x38]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
je 0x75554763
push 0x37b
jmp 0x7555471b
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call fcn.75554095
test eax, eax
jne 0x75554782
push 0x383
push 0x75551520
jmp 0x75554720
push ebx
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_LoadLibraryExA]
mov dword [ebp - 0x54], eax
cmp eax, ebx
jne 0x7555479e
push 0x8009001d
jmp 0x755548c4
push eax
call fcn.75552e4d
push 0x75563720
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_LeaveCriticalSection]
mov dword [ebp - 0x60], ebx
push 0x80
push 0x40
call edi
mov esi, eax
mov dword [ebp - 0x64], esi
cmp esi, ebx
je 0x755543bf
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], ebx
mov edi, dword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetProcAddress]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax*4 + section..data]
cmp eax, ebx
je 0x755547fa
push eax
push dword [ebp - 0x54]
call edi
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
cmp eax, ebx
je 0x75554794
add dword [ebp - 0x40], 4
inc dword [ebp - 0x44]
jmp 0x755547d4
mov dword [ebp - 0x44], ebx
add dword [ebp - 0x40], 4
mov eax, dword [ebp - 0x44]
mov eax, dword [eax*4 + 0x75563060]
cmp eax, ebx
je 0x75554823
push eax
push dword [ebp - 0x54]
call edi
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
add dword [ebp - 0x40], 4
inc dword [ebp - 0x44]
jmp 0x75554801
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x6c], eax
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xa0]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xa0], 3
mov dword [ebp - 0x9c], 0x755541bb
mov dword [ebp - 0x98], 0x75554226
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x88], eax
mov eax, dword [0x755633e4]
mov dword [ebp - 0x90], eax
mov eax, dword [0x75563708]
mov dword [ebp - 0x8c], eax
mov edi, dword [ebp - 0x84]
mov dword [edi], ebx
lea eax, [ebp - 0xa0]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x80]
lea eax, [ebp - 0x68]
push eax
call dword [esi]
mov dword [ebp - 0x5c], eax
cmp eax, 1
jne 0x755548ca
test byte [ebp + 0x18], 0x10
jne 0x755548ca
mov eax, dword [ebp - 0x68]
mov dword [esi + 0x70], eax
mov dword [edi], esi
mov dword [esi + 0x74], 0x11111111
xor eax, eax
inc eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
jmp 0x755548ca
push 0x80090014
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
jmp 0x755548fb
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x60], ebx
je 0x75554913
push 0x75563720
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_LeaveCriticalSection]
mov edi, dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
cmp dword [ebp - 0x3c], ebx
je 0x75554923
push dword [ebp - 0x3c]
call edi
cmp dword [ebp - 0x2c], ebx
je 0x7555492d
push dword [ebp - 0x2c]
call edi
cmp dword [ebp - 0x38], ebx
je 0x7555493a
push dword [ebp - 0x38]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey
cmp dword [ebp - 0x48], ebx
je 0x75554944
push dword [ebp - 0x48]
call edi
cmp dword [ebp - 0x58], ebx
je 0x7555494e
push dword [ebp - 0x58]
call edi
cmp dword [ebp - 0x5c], 1
jne 0x7555495a
test byte [ebp + 0x18], 0x10
je 0x7555496b
cmp dword [ebp - 0x64], ebx
je 0x75554964
push dword [ebp - 0x64]
call edi
push esi
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov eax, dword [ebp - 0x5c]
call fcn.75558b50
ret 0x14