Function at 0x100379c0
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 0x1008bec0
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 0x10037a95
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 0x10037ad7
push eax
call esi
mov eax, dword [ebp - 0xe0c]
test eax, eax
je 0x10037ae4
push eax
call esi
mov eax, dword [ebp - 0xe00]
test eax, eax
je 0x10037af1
push eax
call esi
test edi, edi
je 0x10037baf
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 0x10037ba5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0x25
push 0
call esi
call fcn.10028cd0
add eax, 0x34
mov dword [ebp - 0xf30], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10037bcb
mov eax, dword [eax]
mov dword [ebp - 0xf30], eax
call fcn.10028cd0
add eax, 0x34
cmp dword [eax + 0x14], 0xf
jbe 0x10037bdb
mov eax, dword [eax]
or esi, 0xffffffff
test eax, eax
je 0x10037d5a
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 0x10037d5a
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 0x10037d5a
cmp dword [ebp - 0xf28], 0x378
jne 0x10037d5a
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 0x10037c80
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 0x10037ce1
dec eax
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x10037cdd
cmp ecx, edx
je 0x10037ce1
dec ecx
cmp byte [ecx], 0x5c
jne 0x10037cd3
sub ecx, edx
jmp 0x10037ce4
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 0x10037e0f
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe68]
cmp eax, 0xf
jbe 0x10037d5a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037d50
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e4d
push ecx
push edi
call fcn.10063674
add esp, 8
call fcn.10043ee0
mov esi, eax
lea ecx, [ebp - 0xf48]
push esi
call fcn.100444d0
lea eax, [esi + 0x88]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xf0c]
call fcn.1001cc30
lea ecx, [ebp - 0xf48]
call fcn.10044420
mov dword [ebp - 4], 3
call fcn.10028cd0
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 0x10037db9
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 0x100382ee
mov edx, dword [ebp - 0xe10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100382e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e43
jmp 0x100382e4
lea eax, [ebp - 0x708]
push eax
call fcn.10076908
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 0x10037e50
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.10076908
add esp, 4
push eax
push dword [ebp - 0xf30]
call fcn.10076908
add esp, 4
push eax
call fcn.100766b9
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x10038270
cmp ecx, 0xf
jbe 0x10037ede
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037ed4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e4d
push ecx
push edx
call fcn.10063674
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe68]
cmp eax, 0xf
jbe 0x10037f1b
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037f11
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e4d
push ecx
push edi
call fcn.10063674
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 0x10038e23
lea ecx, [ebp - 0xf28]
mov dword [ebp - 0xf28], 0
push ecx
push edi
call eax
test eax, eax
je 0x10038e23
cmp dword [ebp - 0xf28], 0
je 0x10038e23
call fcn.10028cd0
add eax, 0x4c
mov dword [ebp - 0xf30], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10037f87
mov eax, dword [eax]
mov dword [ebp - 0xf30], eax
call fcn.10028cd0
add eax, 0x4c
cmp dword [eax + 0x14], 0xf
jbe 0x10037f97
mov eax, dword [eax]
test eax, eax
je 0x10037d5a
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 0x10037d5a
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 0x10037d5a
cmp dword [ebp - 0xf28], 0x378
jne 0x10037d5a
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 0x10038033
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 0x10038094
dec eax
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x10038090
cmp ecx, edx
je 0x10038094
dec ecx
cmp byte [ecx], 0x5c
jne 0x10038086
sub ecx, edx
jmp 0x10038097
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 0x10038106
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe50]
cmp eax, 0xf
jbe 0x10037d5a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037d50
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e48
jmp 0x10037d50
lea eax, [ebp - 0x708]
push eax
call fcn.10076908
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 0x10038140
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.10076908
add esp, 4
push eax
push dword [ebp - 0xf30]
call fcn.10076908
add esp, 4
push eax
call fcn.100766b9
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x100381fc
cmp ecx, 0xf
jbe 0x100381c5
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100381bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e48
push ecx
push edx
call fcn.10063674
add esp, 8
mov eax, dword [ebp - 0xe50]
cmp eax, 0xf
jbe 0x10038e23
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100381f5
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e48
push ecx
push edi
jmp 0x10038e1b
cmp ecx, 0xf
jbe 0x10038230
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038226
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e48
push ecx
push edx
call fcn.10063674
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe50]
cmp eax, 0xf
jbe 0x10037d5a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037d50
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e48
jmp 0x10037d50
cmp ecx, 0xf
jbe 0x100382a4
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003829a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e4d
push ecx
push edx
call fcn.10063674
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe68]
cmp eax, 0xf
jbe 0x10037d5a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037d50
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e4d
jmp 0x10037d50
push ecx
push edx
call fcn.10063674
add esp, 8
cmp dword [ebp - 0xef8], 7
lea eax, [ebp - 0xf0c]
push 0
cmova eax, dword [ebp - 0xf0c]
push eax
call fcn.10073c86
add esp, 8
cmp eax, 0xffffffff
jne 0x10038322
push str.Check_File_no_find
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1003890f
call fcn.10028cd0
lea ecx, [ebp - 0xe4c]
lea edx, [eax + 0x94]
call fcn.1001b990
mov edi, eax
mov byte [ebp - 4], 5
call fcn.10043ee0
mov esi, eax
lea ecx, [ebp - 0xf40]
push esi
call fcn.100444d0
lea eax, [esi + 0x88]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xe10]
call fcn.1001cc30
lea ecx, [ebp - 0xf40]
call fcn.10044420
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 0x100383d3
mov edx, dword [ebp - 0xe10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100383c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e52
push ecx
push edx
call fcn.10063674
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xe38]
cmp ecx, 7
jbe 0x10038417
mov edx, dword [ebp - 0xe4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003840d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e52
push ecx
push edx
call fcn.10063674
add esp, 8
xor eax, eax
mov dword [ebp - 0xe3c], 0
mov dword [ebp - 0xe38], 7
mov word [ebp - 0xe4c], ax
call fcn.10028cd0
lea ecx, [ebp - 0xf24]
lea edx, [eax + 0x7c]
call fcn.1001b990
mov edi, eax
mov byte [ebp - 4], 0xb
call fcn.10043ee0
mov esi, eax
lea ecx, [ebp - 0xf40]
push esi
call fcn.100444d0
lea eax, [esi + 0x88]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xedc]
call fcn.1001cc30
lea ecx, [ebp - 0xf40]
call fcn.10044420
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 0x10038563
mov edx, dword [ebp - 0xec4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038559
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e57
push ecx
push edx
call fcn.10063674
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 0x100385c4
mov edx, dword [ebp - 0xe4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100385ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e57
push ecx
push edx
call fcn.10063674
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xec8]
cmp ecx, 7
jbe 0x10038608
mov edx, dword [ebp - 0xedc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100385fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e57
push ecx
push edx
call fcn.10063674
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 0x10038669
mov edx, dword [ebp - 0xf24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003865f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e57
push ecx
push edx
call fcn.10063674
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.10034ac0
add esp, 0x28
test al, al
je 0x10038872
call fcn.10028cd0
add eax, 0x34
mov dword [ebp - 0xf30], eax
cmp dword [eax + 0x14], 0xf
jbe 0x100386e0
mov eax, dword [eax]
mov dword [ebp - 0xf30], eax
call fcn.10028cd0
add eax, 0x34
cmp dword [eax + 0x14], 0xf
jbe 0x100386f0
mov eax, dword [eax]
test eax, eax
je 0x10038866
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 0x10038866
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 0x10038866
cmp dword [ebp - 0xf28], 0x378
jne 0x10038866
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 0x10038790
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 0x100387f0
dec eax
mov ecx, esi
cmp eax, esi
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x100387ec
cmp ecx, edx
je 0x100387f0
dec ecx
cmp byte [ecx], 0x5c
jne 0x100387e2
sub ecx, edx
jmp 0x100387f3
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 0x10038952
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe98]
cmp eax, 0xf
jbe 0x10038866
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003885c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e66
push ecx
push edi
call fcn.10063674
add esp, 8
push 0
call fcn.100368c0
call fcn.100353e0
mov ecx, dword [ebp - 0xdfc]
cmp ecx, 7
jbe 0x100388b2
mov edx, dword [ebp - 0xe10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100388a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e5c
push ecx
push edx
call fcn.10063674
add esp, 8
mov ecx, dword [ebp - 0xee0]
cmp ecx, 7
jbe 0x100388f2
mov edx, dword [ebp - 0xef4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100388e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e5c
push ecx
push edx
call fcn.10063674
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 0x10038e23
mov edx, dword [ebp - 0xf0c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038e19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e5c
jmp 0x10038e19
lea eax, [ebp - 0x708]
push eax
call fcn.10076908
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 0x10038990
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.10076908
add esp, 4
push eax
push dword [ebp - 0xf30]
call fcn.10076908
add esp, 4
push eax
call fcn.100766b9
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x10038dac
cmp ecx, 0xf
jbe 0x10038a1e
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038a14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e66
push ecx
push edx
call fcn.10063674
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe98]
cmp eax, 0xf
jbe 0x10038a58
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10038a4e
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e66
push ecx
push edi
call fcn.10063674
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 0x10038872
lea ecx, [ebp - 0xf28]
mov dword [ebp - 0xf28], 0
push ecx
push edi
call eax
test eax, eax
je 0x10038872
cmp dword [ebp - 0xf28], 0
je 0x10038872
call fcn.10028cd0
cmp dword [eax + 0x60], 0xf
lea edi, [eax + 0x4c]
jbe 0x10038ab8
mov edi, dword [edi]
call fcn.10028cd0
add eax, 0x4c
mov dword [ebp - 0xf28], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10038ad4
mov eax, dword [eax]
mov dword [ebp - 0xf28], eax
test edi, edi
je 0x10038866
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 0x10038866
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 0x10038866
cmp dword [ebp - 0xf34], 0x378
jne 0x10038866
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 0x10038b70
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 0x10038bce
dec eax
cmp eax, 0xffffffff
cmovb esi, eax
add esi, ecx
cmp byte [esi], 0x5c
je 0x10038bca
nop
cmp esi, ecx
je 0x10038bce
dec esi
cmp byte [esi], 0x5c
jne 0x10038bc0
sub esi, ecx
jmp 0x10038bd1
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 0x10038c3d
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe80]
cmp eax, 0xf
jbe 0x10038866
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003885c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e61
jmp 0x1003885c
lea eax, [ebp - 0xdf8]
push eax
call fcn.10076908
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 0x10038c77
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.10076908
add esp, 4
push eax
push dword [ebp - 0xf28]
call fcn.10076908
add esp, 4
push eax
call fcn.100766b9
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x10038d3b
cmp ecx, 0xf
jbe 0x10038cfc
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038cf2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e61
push ecx
push edx
call fcn.10063674
add esp, 8
mov eax, dword [ebp - 0xe80]
cmp eax, 0xf
jbe 0x10038872
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10038d2c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e61
push ecx
push edi
call fcn.10063674
add esp, 8
jmp 0x10038872
cmp ecx, 0xf
jbe 0x10038d6f
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e61
push ecx
push edx
call fcn.10063674
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe80]
cmp eax, 0xf
jbe 0x10038866
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003885c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e61
jmp 0x1003885c
cmp ecx, 0xf
jbe 0x10038de0
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038dd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e66
push ecx
push edx
call fcn.10063674
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe98]
cmp eax, 0xf
jbe 0x10038866
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003885c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e66
jmp 0x1003885c
push ecx
push edx
call fcn.10063674
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.10063317
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1006dd1f
call fcn.1006dd1f
call fcn.1006dd1f
call fcn.1006dd1f
call fcn.1006dd1f
call fcn.1006dd1f
call fcn.1006dd1f
call fcn.1006dd1f
int3