Function at 0x10037a20
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 0x1008bdd0
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 0x10037af5
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 0x10037b37
push eax
call esi
mov eax, dword [ebp - 0xe0c]
test eax, eax
je 0x10037b44
push eax
call esi
mov eax, dword [ebp - 0xe00]
test eax, eax
je 0x10037b51
push eax
call esi
test edi, edi
je 0x10037c0f
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 0x10037c05
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0x25
push 0
call esi
call fcn.10028d30
add eax, 0x34
mov dword [ebp - 0xf30], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10037c2b
mov eax, dword [eax]
mov dword [ebp - 0xf30], eax
call fcn.10028d30
add eax, 0x34
cmp dword [eax + 0x14], 0xf
jbe 0x10037c3b
mov eax, dword [eax]
or esi, 0xffffffff
test eax, eax
je 0x10037dba
lea eax, [ebp - 0xf2c]
push eax
push 0x20019
push 0
push 0x1009bf00
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037dba
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 0x10037dba
cmp dword [ebp - 0xf28], 0x378
jne 0x10037dba
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 0x10037ce0
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 0x10037d41
dec eax
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x10037d3d
cmp ecx, edx
je 0x10037d41
dec ecx
cmp byte [ecx], 0x5c
jne 0x10037d33
sub ecx, edx
jmp 0x10037d44
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 0x10037e6f
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe68]
cmp eax, 0xf
jbe 0x10037dba
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037db0
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ead
push ecx
push edi
call fcn.100635d4
add esp, 8
call fcn.10043f40
mov esi, eax
lea ecx, [ebp - 0xf48]
push esi
call fcn.10044530
lea eax, [esi + 0x88]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xf0c]
call fcn.1001cca0
lea ecx, [ebp - 0xf48]
call fcn.10044480
mov dword [ebp - 4], 3
call fcn.10028d30
lea ecx, [ebp - 0xe10]
lea edx, [eax + 0x7c]
call fcn.1001ba00
mov byte [ebp - 4], 4
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x10037e19
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xf0c]
call fcn.1001d290
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xdfc]
cmp ecx, 7
jbe 0x1003834e
mov edx, dword [ebp - 0xe10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038344
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ea3
jmp 0x10038344
lea eax, [ebp - 0x708]
push eax
call fcn.10076888
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 0x10037eb0
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.10076888
add esp, 4
push eax
push dword [ebp - 0xf30]
call fcn.10076888
add esp, 4
push eax
call fcn.10076639
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x100382d0
cmp ecx, 0xf
jbe 0x10037f3e
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037f34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ead
push ecx
push edx
call fcn.100635d4
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe68]
cmp eax, 0xf
jbe 0x10037f7b
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037f71
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ead
push ecx
push edi
call fcn.100635d4
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 0x10038e83
lea ecx, [ebp - 0xf28]
mov dword [ebp - 0xf28], 0
push ecx
push edi
call eax
test eax, eax
je 0x10038e83
cmp dword [ebp - 0xf28], 0
je 0x10038e83
call fcn.10028d30
add eax, 0x4c
mov dword [ebp - 0xf30], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10037fe7
mov eax, dword [eax]
mov dword [ebp - 0xf30], eax
call fcn.10028d30
add eax, 0x4c
cmp dword [eax + 0x14], 0xf
jbe 0x10037ff7
mov eax, dword [eax]
test eax, eax
je 0x10037dba
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 0x10037dba
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 0x10037dba
cmp dword [ebp - 0xf28], 0x378
jne 0x10037dba
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 0x10038093
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 0x100380f4
dec eax
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x100380f0
cmp ecx, edx
je 0x100380f4
dec ecx
cmp byte [ecx], 0x5c
jne 0x100380e6
sub ecx, edx
jmp 0x100380f7
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 0x10038166
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe50]
cmp eax, 0xf
jbe 0x10037dba
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037db0
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ea8
jmp 0x10037db0
lea eax, [ebp - 0x708]
push eax
call fcn.10076888
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 0x100381a0
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.10076888
add esp, 4
push eax
push dword [ebp - 0xf30]
call fcn.10076888
add esp, 4
push eax
call fcn.10076639
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x1003825c
cmp ecx, 0xf
jbe 0x10038225
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003821b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ea8
push ecx
push edx
call fcn.100635d4
add esp, 8
mov eax, dword [ebp - 0xe50]
cmp eax, 0xf
jbe 0x10038e83
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10038255
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ea8
push ecx
push edi
jmp 0x10038e7b
cmp ecx, 0xf
jbe 0x10038290
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038286
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ea8
push ecx
push edx
call fcn.100635d4
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe50]
cmp eax, 0xf
jbe 0x10037dba
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037db0
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ea8
jmp 0x10037db0
cmp ecx, 0xf
jbe 0x10038304
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100382fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ead
push ecx
push edx
call fcn.100635d4
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe68]
cmp eax, 0xf
jbe 0x10037dba
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037db0
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ead
jmp 0x10037db0
push ecx
push edx
call fcn.100635d4
add esp, 8
cmp dword [ebp - 0xef8], 7
lea eax, [ebp - 0xf0c]
push 0
cmova eax, dword [ebp - 0xf0c]
push eax
call fcn.10073c06
add esp, 8
cmp eax, 0xffffffff
jne 0x10038382
push str.Check_File_no_find
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1003896f
call fcn.10028d30
lea ecx, [ebp - 0xe4c]
lea edx, [eax + 0x94]
call fcn.1001ba00
mov edi, eax
mov byte [ebp - 4], 5
call fcn.10043f40
mov esi, eax
lea ecx, [ebp - 0xf40]
push esi
call fcn.10044530
lea eax, [esi + 0x88]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xe10]
call fcn.1001cca0
lea ecx, [ebp - 0xf40]
call fcn.10044480
push edi
lea eax, [ebp - 0xe10]
mov byte [ebp - 4], 7
push eax
push dword [ebp - 0xf3c]
lea ecx, [ebp - 0xef4]
call fcn.100265f0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xdfc]
cmp ecx, 7
jbe 0x10038433
mov edx, dword [ebp - 0xe10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038429
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038eb2
push ecx
push edx
call fcn.100635d4
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xe38]
cmp ecx, 7
jbe 0x10038477
mov edx, dword [ebp - 0xe4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003846d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038eb2
push ecx
push edx
call fcn.100635d4
add esp, 8
xor eax, eax
mov dword [ebp - 0xe3c], 0
mov dword [ebp - 0xe38], 7
mov word [ebp - 0xe4c], ax
call fcn.10028d30
lea ecx, [ebp - 0xf24]
lea edx, [eax + 0x7c]
call fcn.1001ba00
mov edi, eax
mov byte [ebp - 4], 0xb
call fcn.10043f40
mov esi, eax
lea ecx, [ebp - 0xf40]
push esi
call fcn.10044530
lea eax, [esi + 0x88]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xedc]
call fcn.1001cca0
lea ecx, [ebp - 0xf40]
call fcn.10044480
push 5
push str._rr__
push ecx
lea ecx, [ebp - 0xedc]
mov byte [ebp - 4], 0xd
call fcn.10026850
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.100265f0
push 1
push 0x100988d4
lea ecx, [ebp - 0xec4]
mov byte [ebp - 4], 0xf
call fcn.1001d290
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 0x100385c3
mov edx, dword [ebp - 0xec4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100385b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038eb7
push ecx
push edx
call fcn.100635d4
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 0x10038624
mov edx, dword [ebp - 0xe4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003861a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038eb7
push ecx
push edx
call fcn.100635d4
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xec8]
cmp ecx, 7
jbe 0x10038668
mov edx, dword [ebp - 0xedc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003865e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038eb7
push ecx
push edx
call fcn.100635d4
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 0x100386c9
mov edx, dword [ebp - 0xf24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100386bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038eb7
push ecx
push edx
call fcn.100635d4
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 0x10097c30
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.10034b10
add esp, 0x28
test al, al
je 0x100388d2
call fcn.10028d30
add eax, 0x34
mov dword [ebp - 0xf30], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10038740
mov eax, dword [eax]
mov dword [ebp - 0xf30], eax
call fcn.10028d30
add eax, 0x34
cmp dword [eax + 0x14], 0xf
jbe 0x10038750
mov eax, dword [eax]
test eax, eax
je 0x100388c6
lea eax, [ebp - 0xf2c]
push eax
push 0x20019
push 0
push 0x1009bf00
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100388c6
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 0x100388c6
cmp dword [ebp - 0xf28], 0x378
jne 0x100388c6
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 0x100387f0
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 0x10038850
dec eax
mov ecx, esi
cmp eax, esi
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x1003884c
cmp ecx, edx
je 0x10038850
dec ecx
cmp byte [ecx], 0x5c
jne 0x10038842
sub ecx, edx
jmp 0x10038853
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 0x100389b2
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe98]
cmp eax, 0xf
jbe 0x100388c6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100388bc
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ec6
push ecx
push edi
call fcn.100635d4
add esp, 8
push 0
call fcn.10036910
call fcn.10035430
mov ecx, dword [ebp - 0xdfc]
cmp ecx, 7
jbe 0x10038912
mov edx, dword [ebp - 0xe10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038908
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ebc
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0xee0]
cmp ecx, 7
jbe 0x10038952
mov edx, dword [ebp - 0xef4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038948
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ebc
push ecx
push edx
call fcn.100635d4
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 0x10038e83
mov edx, dword [ebp - 0xf0c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038e79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ebc
jmp 0x10038e79
lea eax, [ebp - 0x708]
push eax
call fcn.10076888
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 0x100389f0
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.10076888
add esp, 4
push eax
push dword [ebp - 0xf30]
call fcn.10076888
add esp, 4
push eax
call fcn.10076639
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x10038e0c
cmp ecx, 0xf
jbe 0x10038a7e
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038a74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ec6
push ecx
push edx
call fcn.100635d4
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe98]
cmp eax, 0xf
jbe 0x10038ab8
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10038aae
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ec6
push ecx
push edi
call fcn.100635d4
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 0x100388d2
lea ecx, [ebp - 0xf28]
mov dword [ebp - 0xf28], 0
push ecx
push edi
call eax
test eax, eax
je 0x100388d2
cmp dword [ebp - 0xf28], 0
je 0x100388d2
call fcn.10028d30
cmp dword [eax + 0x60], 0xf
lea edi, [eax + 0x4c]
jbe 0x10038b18
mov edi, dword [edi]
call fcn.10028d30
add eax, 0x4c
mov dword [ebp - 0xf28], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10038b34
mov eax, dword [eax]
mov dword [ebp - 0xf28], eax
test edi, edi
je 0x100388c6
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 0x100388c6
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 0x100388c6
cmp dword [ebp - 0xf34], 0x378
jne 0x100388c6
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 0x10038bd0
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 0x10038c2e
dec eax
cmp eax, 0xffffffff
cmovb esi, eax
add esi, ecx
cmp byte [esi], 0x5c
je 0x10038c2a
nop
cmp esi, ecx
je 0x10038c2e
dec esi
cmp byte [esi], 0x5c
jne 0x10038c20
sub esi, ecx
jmp 0x10038c31
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 0x10038c9d
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe80]
cmp eax, 0xf
jbe 0x100388c6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100388bc
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ec1
jmp 0x100388bc
lea eax, [ebp - 0xdf8]
push eax
call fcn.10076888
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 0x10038cd7
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.10076888
add esp, 4
push eax
push dword [ebp - 0xf28]
call fcn.10076888
add esp, 4
push eax
call fcn.10076639
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x10038d9b
cmp ecx, 0xf
jbe 0x10038d5c
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ec1
push ecx
push edx
call fcn.100635d4
add esp, 8
mov eax, dword [ebp - 0xe80]
cmp eax, 0xf
jbe 0x100388d2
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10038d8c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ec1
push ecx
push edi
call fcn.100635d4
add esp, 8
jmp 0x100388d2
cmp ecx, 0xf
jbe 0x10038dcf
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038dc5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ec1
push ecx
push edx
call fcn.100635d4
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe80]
cmp eax, 0xf
jbe 0x100388c6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100388bc
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ec1
jmp 0x100388bc
cmp ecx, 0xf
jbe 0x10038e40
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038e36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ec6
push ecx
push edx
call fcn.100635d4
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe98]
cmp eax, 0xf
jbe 0x100388c6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100388bc
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ec6
jmp 0x100388bc
push ecx
push edx
call fcn.100635d4
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.10063277
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1006dc9f
call fcn.1006dc9f
call fcn.1006dc9f
call fcn.1006dc9f
call fcn.1006dc9f
call fcn.1006dc9f
call fcn.1006dc9f
call fcn.1006dc9f
int3