Function at 0x100379f0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008bee0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf38
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.WININET.dll_InternetQueryOptionW]
lea eax, [ebp - 0xe34]
mov dword [ebp - 0xe38], eax
lea eax, [ebp - 0xf2c]
push eax
lea eax, [ebp - 0xe48]
mov dword [ebp - 0xf2c], 0x14
push eax
push 0x4b
push 0
mov dword [ebp - 0xe34], 4
mov dword [ebp - 0xe28], 5
mov dword [ebp - 0xe1c], 1
mov dword [ebp - 0xe10], 3
mov dword [ebp - 0xe04], 2
mov dword [ebp - 0xe48], 0x14
mov dword [ebp - 0xe44], 0
mov dword [ebp - 0xe40], 5
mov dword [ebp - 0xe3c], 0
call esi
test eax, eax
jne 0x10037ac5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0xe18]
mov edi, eax
mov dword [ebp - 0xf30], eax
and edi, 2
lea eax, [ebp - 0xf2c]
mov dword [ebp - 0xf2c], 8
push eax
lea eax, [ebp - 0xf40]
push eax
push 0x28
push 0
call esi
mov eax, dword [ebp - 0xe30]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x10037b07
push eax
call esi
mov eax, dword [ebp - 0xe0c]
test eax, eax
je 0x10037b14
push eax
call esi
mov eax, dword [ebp - 0xe00]
test eax, eax
je 0x10037b21
push eax
call esi
test edi, edi
je 0x10037bdf
mov eax, dword [ebp - 0xf30]
mov edx, 4
mov ecx, eax
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
and eax, 4
mov dword [ebp - 0xe1c], 2
test cl, 8
mov dword [ebp - 0xe18], 0
push 0x14
cmove edx, eax
mov dword [ebp - 0xe10], 1
mov eax, edx
mov dword [ebp - 0xe04], 3
or eax, 1
mov dword [ebp - 0xe00], str._local_
test cl, 1
mov dword [ebp - 0xe48], 0x14
mov dword [ebp - 0xe44], 0
cmove eax, edx
mov dword [ebp - 0xe40], 3
mov dword [ebp - 0xe0c], eax
lea eax, [ebp - 0xe1c]
mov dword [ebp - 0xe38], eax
lea eax, [ebp - 0xe48]
push eax
push 0x4b
push 0
mov dword [ebp - 0xe3c], 0
call esi
test eax, eax
jne 0x10037bd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0x25
push 0
call esi
call fcn.10028cf0
add eax, 0x34
mov dword [ebp - 0xf30], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10037bfb
mov eax, dword [eax]
mov dword [ebp - 0xf30], eax
call fcn.10028cf0
add eax, 0x34
cmp dword [eax + 0x14], 0xf
jbe 0x10037c0b
mov eax, dword [eax]
or esi, 0xffffffff
test eax, eax
je 0x10037d8a
lea eax, [ebp - 0xf2c]
push eax
push 0x20019
push 0
push 0x1009bf78
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037d8a
lea eax, [ebp - 0xf28]
mov dword [ebp - 0xf28], 0x378
push eax
lea eax, [ebp - 0x390]
mov dword [ebp - 0xf38], 0x378
push eax
push 0
push 0
push str.PackedCatalogItem
push dword [ebp - 0xf2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10037d8a
cmp dword [ebp - 0xf28], 0x378
jne 0x10037d8a
xorps xmm0, xmm0
mov dword [ebp - 0xe6c], eax
lea ecx, [ebp - 0x390]
mov dword [ebp - 0xe68], eax
movups xmmword [ebp - 0xe7c], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037cb0
sub ecx, edx
lea eax, [ebp - 0x390]
push ecx
push eax
lea ecx, [ebp - 0xe7c]
call fcn.10003170
mov dword [ebp - 4], 0
lea edx, [ebp - 0xe7c]
cmp dword [ebp - 0xe68], 0xf
mov edi, dword [ebp - 0xe7c]
mov eax, dword [ebp - 0xe6c]
cmova edx, edi
test eax, eax
je 0x10037d11
dec eax
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x10037d0d
cmp ecx, edx
je 0x10037d11
dec ecx
cmp byte [ecx], 0x5c
jne 0x10037d03
sub ecx, edx
jmp 0x10037d14
or ecx, 0xffffffff
lea eax, [ebp - 0x38f]
add eax, ecx
mov dword [ebp - 0xf44], eax
lea eax, [ebp - 0xf38]
push eax
lea eax, [ebp - 0x708]
push eax
push 0
push 0
push str.ProtocolName
push dword [ebp - 0xf2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10037e3f
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe68]
cmp eax, 0xf
jbe 0x10037d8a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037d80
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e7d
push ecx
push edi
call fcn.10063694
add esp, 8
call fcn.10043f10
mov esi, eax
lea ecx, [ebp - 0xf48]
push esi
call fcn.10044500
lea eax, [esi + 0x88]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xf0c]
call fcn.1001cc30
lea ecx, [ebp - 0xf48]
call fcn.10044450
mov dword [ebp - 4], 3
call fcn.10028cf0
lea ecx, [ebp - 0xe10]
lea edx, [eax + 0x7c]
call fcn.1001b990
mov byte [ebp - 4], 4
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x10037de9
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xf0c]
call fcn.1001d220
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xdfc]
cmp ecx, 7
jbe 0x1003831e
mov edx, dword [ebp - 0xe10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038314
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e73
jmp 0x10038314
lea eax, [ebp - 0x708]
push eax
call fcn.10076928
mov edx, eax
mov dword [ebp - 0xe3c], 0
mov ecx, edx
mov dword [ebp - 0xe38], 0
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0xe4c], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xf34], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037e80
sub ecx, dword [ebp - 0xf34]
push ecx
push edx
lea ecx, [ebp - 0xe4c]
call fcn.10003170
push dword [ebp - 0xf2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xf44]
call fcn.10076928
add esp, 4
push eax
push dword [ebp - 0xf30]
call fcn.10076928
add esp, 4
push eax
call fcn.100766d9
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x100382a0
cmp ecx, 0xf
jbe 0x10037f0e
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037f04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e7d
push ecx
push edx
call fcn.10063694
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe68]
cmp eax, 0xf
jbe 0x10037f4b
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037f41
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e7d
push ecx
push edi
call fcn.10063694
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10038e53
lea ecx, [ebp - 0xf28]
mov dword [ebp - 0xf28], 0
push ecx
push edi
call eax
test eax, eax
je 0x10038e53
cmp dword [ebp - 0xf28], 0
je 0x10038e53
call fcn.10028cf0
add eax, 0x4c
mov dword [ebp - 0xf30], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10037fb7
mov eax, dword [eax]
mov dword [ebp - 0xf30], eax
call fcn.10028cf0
add eax, 0x4c
cmp dword [eax + 0x14], 0xf
jbe 0x10037fc7
mov eax, dword [eax]
test eax, eax
je 0x10037d8a
lea eax, [ebp - 0xf2c]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries64000000000001
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037d8a
lea eax, [ebp - 0xf28]
mov dword [ebp - 0xf28], 0x378
push eax
lea eax, [ebp - 0x390]
mov dword [ebp - 0xf44], 0x378
push eax
push 0
push 0
push str.PackedCatalogItem
push dword [ebp - 0xf2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10037d8a
cmp dword [ebp - 0xf28], 0x378
jne 0x10037d8a
xorps xmm0, xmm0
mov dword [ebp - 0xe54], eax
lea ecx, [ebp - 0x390]
mov dword [ebp - 0xe50], eax
movups xmmword [ebp - 0xe64], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038063
sub ecx, edx
lea eax, [ebp - 0x390]
push ecx
push eax
lea ecx, [ebp - 0xe64]
call fcn.10003170
mov dword [ebp - 4], 1
lea edx, [ebp - 0xe64]
cmp dword [ebp - 0xe50], 0xf
mov edi, dword [ebp - 0xe64]
mov eax, dword [ebp - 0xe54]
cmova edx, edi
test eax, eax
je 0x100380c4
dec eax
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x100380c0
cmp ecx, edx
je 0x100380c4
dec ecx
cmp byte [ecx], 0x5c
jne 0x100380b6
sub ecx, edx
jmp 0x100380c7
or ecx, 0xffffffff
lea eax, [ebp - 0xf44]
push eax
lea eax, [ebp - 0x708]
push eax
push 0
push 0
push str.ProtocolName
push dword [ebp - 0xf2c]
lea esi, [ebp - 0x38f]
add esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10038136
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe50]
cmp eax, 0xf
jbe 0x10037d8a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037d80
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e78
jmp 0x10037d80
lea eax, [ebp - 0x708]
push eax
call fcn.10076928
mov edx, eax
mov dword [ebp - 0xe3c], 0
mov ecx, edx
mov dword [ebp - 0xe38], 0
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0xe4c], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xf38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038170
sub ecx, dword [ebp - 0xf38]
push ecx
push edx
lea ecx, [ebp - 0xe4c]
call fcn.10003170
push dword [ebp - 0xf2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.10076928
add esp, 4
push eax
push dword [ebp - 0xf30]
call fcn.10076928
add esp, 4
push eax
call fcn.100766d9
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x1003822c
cmp ecx, 0xf
jbe 0x100381f5
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100381eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e78
push ecx
push edx
call fcn.10063694
add esp, 8
mov eax, dword [ebp - 0xe50]
cmp eax, 0xf
jbe 0x10038e53
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10038225
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e78
push ecx
push edi
jmp 0x10038e4b
cmp ecx, 0xf
jbe 0x10038260
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038256
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e78
push ecx
push edx
call fcn.10063694
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe50]
cmp eax, 0xf
jbe 0x10037d8a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037d80
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e78
jmp 0x10037d80
cmp ecx, 0xf
jbe 0x100382d4
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100382ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e7d
push ecx
push edx
call fcn.10063694
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe68]
cmp eax, 0xf
jbe 0x10037d8a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037d80
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e7d
jmp 0x10037d80
push ecx
push edx
call fcn.10063694
add esp, 8
cmp dword [ebp - 0xef8], 7
lea eax, [ebp - 0xf0c]
push 0
cmova eax, dword [ebp - 0xf0c]
push eax
call fcn.10073ca6
add esp, 8
cmp eax, 0xffffffff
jne 0x10038352
push str.Check_File_no_find
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1003893f
call fcn.10028cf0
lea ecx, [ebp - 0xe4c]
lea edx, [eax + 0x94]
call fcn.1001b990
mov edi, eax
mov byte [ebp - 4], 5
call fcn.10043f10
mov esi, eax
lea ecx, [ebp - 0xf40]
push esi
call fcn.10044500
lea eax, [esi + 0x88]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xe10]
call fcn.1001cc30
lea ecx, [ebp - 0xf40]
call fcn.10044450
push edi
lea eax, [ebp - 0xe10]
mov byte [ebp - 4], 7
push eax
push dword [ebp - 0xf3c]
lea ecx, [ebp - 0xef4]
call fcn.10026590
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xdfc]
cmp ecx, 7
jbe 0x10038403
mov edx, dword [ebp - 0xe10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100383f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e82
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xe38]
cmp ecx, 7
jbe 0x10038447
mov edx, dword [ebp - 0xe4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003843d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e82
push ecx
push edx
call fcn.10063694
add esp, 8
xor eax, eax
mov dword [ebp - 0xe3c], 0
mov dword [ebp - 0xe38], 7
mov word [ebp - 0xe4c], ax
call fcn.10028cf0
lea ecx, [ebp - 0xf24]
lea edx, [eax + 0x7c]
call fcn.1001b990
mov edi, eax
mov byte [ebp - 4], 0xb
call fcn.10043f10
mov esi, eax
lea ecx, [ebp - 0xf40]
push esi
call fcn.10044500
lea eax, [esi + 0x88]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xedc]
call fcn.1001cc30
lea ecx, [ebp - 0xf40]
call fcn.10044450
push 5
push str._rr__
push ecx
lea ecx, [ebp - 0xedc]
mov byte [ebp - 4], 0xd
call fcn.100267f0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe4c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe3c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push edi
lea eax, [ebp - 0xe4c]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp - 0xf3c]
lea ecx, [ebp - 0xec4]
call fcn.10026590
push 1
push 0x10098948
lea ecx, [ebp - 0xec4]
mov byte [ebp - 4], 0xf
call fcn.1001d220
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe10], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe00], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xeb0]
cmp ecx, 7
jbe 0x10038593
mov edx, dword [ebp - 0xec4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038589
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e87
push ecx
push edx
call fcn.10063694
add esp, 8
xor eax, eax
mov dword [ebp - 0xeb4], 0
mov dword [ebp - 0xeb0], 7
mov word [ebp - 0xec4], ax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0xe38]
cmp ecx, 7
jbe 0x100385f4
mov edx, dword [ebp - 0xe4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100385ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e87
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xec8]
cmp ecx, 7
jbe 0x10038638
mov edx, dword [ebp - 0xedc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003862e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e87
push ecx
push edx
call fcn.10063694
add esp, 8
xor eax, eax
mov dword [ebp - 0xecc], 0
mov dword [ebp - 0xec8], 7
mov word [ebp - 0xedc], ax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xf10]
cmp ecx, 7
jbe 0x10038699
mov edx, dword [ebp - 0xf24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003868f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e87
push ecx
push edx
call fcn.10063694
add esp, 8
sub esp, 0x18
mov dword [ebp - 0xf14], 0
mov ecx, esp
mov dword [ebp - 0xf10], 7
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0xf24], ax
push eax
movups xmmword [ecx], xmm0
push 0x10097c68
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.10003c00
push 1
sub esp, 8
lea eax, [ebp - 0xe10]
lea edx, [ebp - 0xef4]
push eax
call fcn.10034af0
add esp, 0x28
test al, al
je 0x100388a2
call fcn.10028cf0
add eax, 0x34
mov dword [ebp - 0xf30], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10038710
mov eax, dword [eax]
mov dword [ebp - 0xf30], eax
call fcn.10028cf0
add eax, 0x34
cmp dword [eax + 0x14], 0xf
jbe 0x10038720
mov eax, dword [eax]
test eax, eax
je 0x10038896
lea eax, [ebp - 0xf2c]
push eax
push 0x20019
push 0
push 0x1009bf78
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10038896
lea eax, [ebp - 0xf28]
mov dword [ebp - 0xf28], 0x378
push eax
lea eax, [ebp - 0x390]
mov dword [ebp - 0xf44], 0x378
push eax
push 0
push 0
push str.PackedCatalogItem
push dword [ebp - 0xf2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10038896
cmp dword [ebp - 0xf28], 0x378
jne 0x10038896
xorps xmm0, xmm0
mov dword [ebp - 0xe9c], eax
lea ecx, [ebp - 0x390]
mov dword [ebp - 0xe98], eax
movups xmmword [ebp - 0xeac], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100387c0
sub ecx, edx
lea eax, [ebp - 0x390]
push ecx
push eax
lea ecx, [ebp - 0xeac]
call fcn.10003170
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0xeac]
cmp dword [ebp - 0xe98], 0xf
mov edi, dword [ebp - 0xeac]
mov eax, dword [ebp - 0xe9c]
cmova edx, edi
or esi, 0xffffffff
test eax, eax
je 0x10038820
dec eax
mov ecx, esi
cmp eax, esi
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x1003881c
cmp ecx, edx
je 0x10038820
dec ecx
cmp byte [ecx], 0x5c
jne 0x10038812
sub ecx, edx
jmp 0x10038823
or ecx, 0xffffffff
lea eax, [ebp - 0x38f]
add eax, ecx
mov dword [ebp - 0xf34], eax
lea eax, [ebp - 0xf44]
push eax
lea eax, [ebp - 0x708]
push eax
push 0
push 0
push str.ProtocolName
push dword [ebp - 0xf2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10038982
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe98]
cmp eax, 0xf
jbe 0x10038896
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003888c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e96
push ecx
push edi
call fcn.10063694
add esp, 8
push 0
call fcn.100368f0
call fcn.10035410
mov ecx, dword [ebp - 0xdfc]
cmp ecx, 7
jbe 0x100388e2
mov edx, dword [ebp - 0xe10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100388d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e8c
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0xee0]
cmp ecx, 7
jbe 0x10038922
mov edx, dword [ebp - 0xef4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038918
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e8c
push ecx
push edx
call fcn.10063694
add esp, 8
xor eax, eax
mov dword [ebp - 0xee4], 0
mov dword [ebp - 0xee0], 7
mov word [ebp - 0xef4], ax
mov ecx, dword [ebp - 0xef8]
cmp ecx, 7
jbe 0x10038e53
mov edx, dword [ebp - 0xf0c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038e49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e8c
jmp 0x10038e49
lea eax, [ebp - 0x708]
push eax
call fcn.10076928
mov edx, eax
mov dword [ebp - 0xe3c], 0
mov ecx, edx
mov dword [ebp - 0xe38], 0
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0xe4c], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xf38], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100389c0
sub ecx, dword [ebp - 0xf38]
push ecx
push edx
lea ecx, [ebp - 0xe4c]
call fcn.10003170
push dword [ebp - 0xf2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xf34]
call fcn.10076928
add esp, 4
push eax
push dword [ebp - 0xf30]
call fcn.10076928
add esp, 4
push eax
call fcn.100766d9
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x10038ddc
cmp ecx, 0xf
jbe 0x10038a4e
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038a44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e96
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe98]
cmp eax, 0xf
jbe 0x10038a88
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10038a7e
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e96
push ecx
push edi
call fcn.10063694
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100388a2
lea ecx, [ebp - 0xf28]
mov dword [ebp - 0xf28], 0
push ecx
push edi
call eax
test eax, eax
je 0x100388a2
cmp dword [ebp - 0xf28], 0
je 0x100388a2
call fcn.10028cf0
cmp dword [eax + 0x60], 0xf
lea edi, [eax + 0x4c]
jbe 0x10038ae8
mov edi, dword [edi]
call fcn.10028cf0
add eax, 0x4c
mov dword [ebp - 0xf28], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10038b04
mov eax, dword [eax]
mov dword [ebp - 0xf28], eax
test edi, edi
je 0x10038896
lea eax, [ebp - 0xf30]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries64000000000001
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10038896
lea eax, [ebp - 0xf34]
mov dword [ebp - 0xf34], 0x378
push eax
lea eax, [ebp - 0xa80]
mov dword [ebp - 0xf3c], 0x378
push eax
push 0
push 0
push str.PackedCatalogItem
push dword [ebp - 0xf30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10038896
cmp dword [ebp - 0xf34], 0x378
jne 0x10038896
xorps xmm0, xmm0
mov dword [ebp - 0xe84], eax
lea ecx, [ebp - 0xa80]
mov dword [ebp - 0xe80], eax
movups xmmword [ebp - 0xe94], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038ba0
sub ecx, edx
lea eax, [ebp - 0xa80]
push ecx
push eax
lea ecx, [ebp - 0xe94]
call fcn.10003170
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe94]
cmp dword [ebp - 0xe80], 0xf
mov edi, dword [ebp - 0xe94]
mov eax, dword [ebp - 0xe84]
cmova ecx, edi
test eax, eax
je 0x10038bfe
dec eax
cmp eax, 0xffffffff
cmovb esi, eax
add esi, ecx
cmp byte [esi], 0x5c
je 0x10038bfa
nop
cmp esi, ecx
je 0x10038bfe
dec esi
cmp byte [esi], 0x5c
jne 0x10038bf0
sub esi, ecx
jmp 0x10038c01
or esi, 0xffffffff
lea eax, [ebp - 0xa7f]
add esi, eax
lea eax, [ebp - 0xf3c]
push eax
lea eax, [ebp - 0xdf8]
push eax
push 0
push 0
push str.ProtocolName
push dword [ebp - 0xf30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10038c6d
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe80]
cmp eax, 0xf
jbe 0x10038896
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003888c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e91
jmp 0x1003888c
lea eax, [ebp - 0xdf8]
push eax
call fcn.10076928
mov edx, eax
mov dword [ebp - 0xe3c], 0
mov ecx, edx
mov dword [ebp - 0xe38], 0
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0xe4c], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xf44], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038ca7
sub ecx, dword [ebp - 0xf44]
push ecx
push edx
lea ecx, [ebp - 0xe4c]
call fcn.10003170
push dword [ebp - 0xf30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.10076928
add esp, 4
push eax
push dword [ebp - 0xf28]
call fcn.10076928
add esp, 4
push eax
call fcn.100766d9
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x10038d6b
cmp ecx, 0xf
jbe 0x10038d2c
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e91
push ecx
push edx
call fcn.10063694
add esp, 8
mov eax, dword [ebp - 0xe80]
cmp eax, 0xf
jbe 0x100388a2
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10038d5c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e91
push ecx
push edi
call fcn.10063694
add esp, 8
jmp 0x100388a2
cmp ecx, 0xf
jbe 0x10038d9f
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e91
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe80]
cmp eax, 0xf
jbe 0x10038896
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003888c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e91
jmp 0x1003888c
cmp ecx, 0xf
jbe 0x10038e10
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038e06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e96
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe98]
cmp eax, 0xf
jbe 0x10038896
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003888c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e96
jmp 0x1003888c
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10063337
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1006dd3f
call fcn.1006dd3f
call fcn.1006dd3f
call fcn.1006dd3f
call fcn.1006dd3f
call fcn.1006dd3f
call fcn.1006dd3f
call fcn.1006dd3f
int3