Function at 0x100379a0
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 0x1008ed50
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf38
mov eax, dword [0x100ab080]
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 0x10037a75
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 0x10037ab7
push eax
call esi
mov eax, dword [ebp - 0xe0c]
test eax, eax
je 0x10037ac4
push eax
call esi
mov eax, dword [ebp - 0xe00]
test eax, eax
je 0x10037ad1
push eax
call esi
test edi, edi
je 0x10037b8f
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 0x10037b85
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0x25
push 0
call esi
call fcn.10028f00
add eax, 0x34
mov dword [ebp - 0xf30], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10037bab
mov eax, dword [eax]
mov dword [ebp - 0xf30], eax
call fcn.10028f00
add eax, 0x34
cmp dword [eax + 0x14], 0xf
jbe 0x10037bbb
mov eax, dword [eax]
or esi, 0xffffffff
test eax, eax
je 0x10037d3a
lea eax, [ebp - 0xf2c]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries000000000001
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037d3a
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 0x10037d3a
cmp dword [ebp - 0xf28], 0x378
jne 0x10037d3a
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 0x10037c60
sub ecx, edx
lea eax, [ebp - 0x390]
push ecx
push eax
lea ecx, [ebp - 0xe7c]
call fcn.10003200
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 0x10037cc1
dec eax
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x10037cbd
cmp ecx, edx
je 0x10037cc1
dec ecx
cmp byte [ecx], 0x5c
jne 0x10037cb3
sub ecx, edx
jmp 0x10037cc4
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 0x10037def
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe68]
cmp eax, 0xf
jbe 0x10037d3a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037d30
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e2d
push ecx
push edi
call fcn.100666c9
add esp, 8
call fcn.10047190
mov esi, eax
lea ecx, [ebp - 0xf48]
push esi
call fcn.10047770
lea eax, [esi + 0x88]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xf0c]
call fcn.1001cea0
lea ecx, [ebp - 0xf48]
call fcn.100476c0
mov dword [ebp - 4], 3
call fcn.10028f00
lea ecx, [ebp - 0xe10]
lea edx, [eax + 0x7c]
call fcn.1001bc10
mov byte [ebp - 4], 4
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x10037d99
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xf0c]
call fcn.1001d490
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xdfc]
cmp ecx, 7
jbe 0x100382ce
mov edx, dword [ebp - 0xe10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100382c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e23
jmp 0x100382c4
lea eax, [ebp - 0x708]
push eax
call fcn.100797f8
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 0x10037e30
sub ecx, dword [ebp - 0xf34]
push ecx
push edx
lea ecx, [ebp - 0xe4c]
call fcn.10003200
push dword [ebp - 0xf2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xf44]
call fcn.100797f8
add esp, 4
push eax
push dword [ebp - 0xf30]
call fcn.100797f8
add esp, 4
push eax
call fcn.100795a9
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x10038250
cmp ecx, 0xf
jbe 0x10037ebe
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037eb4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e2d
push ecx
push edx
call fcn.100666c9
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe68]
cmp eax, 0xf
jbe 0x10037efb
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037ef1
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e2d
push ecx
push edi
call fcn.100666c9
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 0x10038e03
lea ecx, [ebp - 0xf28]
mov dword [ebp - 0xf28], 0
push ecx
push edi
call eax
test eax, eax
je 0x10038e03
cmp dword [ebp - 0xf28], 0
je 0x10038e03
call fcn.10028f00
add eax, 0x4c
mov dword [ebp - 0xf30], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10037f67
mov eax, dword [eax]
mov dword [ebp - 0xf30], eax
call fcn.10028f00
add eax, 0x4c
cmp dword [eax + 0x14], 0xf
jbe 0x10037f77
mov eax, dword [eax]
test eax, eax
je 0x10037d3a
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 0x10037d3a
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 0x10037d3a
cmp dword [ebp - 0xf28], 0x378
jne 0x10037d3a
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 0x10038013
sub ecx, edx
lea eax, [ebp - 0x390]
push ecx
push eax
lea ecx, [ebp - 0xe64]
call fcn.10003200
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 0x10038074
dec eax
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x10038070
cmp ecx, edx
je 0x10038074
dec ecx
cmp byte [ecx], 0x5c
jne 0x10038066
sub ecx, edx
jmp 0x10038077
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 0x100380e6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe50]
cmp eax, 0xf
jbe 0x10037d3a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037d30
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e28
jmp 0x10037d30
lea eax, [ebp - 0x708]
push eax
call fcn.100797f8
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 0x10038120
sub ecx, dword [ebp - 0xf38]
push ecx
push edx
lea ecx, [ebp - 0xe4c]
call fcn.10003200
push dword [ebp - 0xf2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.100797f8
add esp, 4
push eax
push dword [ebp - 0xf30]
call fcn.100797f8
add esp, 4
push eax
call fcn.100795a9
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x100381dc
cmp ecx, 0xf
jbe 0x100381a5
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003819b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e28
push ecx
push edx
call fcn.100666c9
add esp, 8
mov eax, dword [ebp - 0xe50]
cmp eax, 0xf
jbe 0x10038e03
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100381d5
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e28
push ecx
push edi
jmp 0x10038dfb
cmp ecx, 0xf
jbe 0x10038210
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038206
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e28
push ecx
push edx
call fcn.100666c9
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe50]
cmp eax, 0xf
jbe 0x10037d3a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037d30
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e28
jmp 0x10037d30
cmp ecx, 0xf
jbe 0x10038284
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003827a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e2d
push ecx
push edx
call fcn.100666c9
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe68]
cmp eax, 0xf
jbe 0x10037d3a
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10037d30
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e2d
jmp 0x10037d30
push ecx
push edx
call fcn.100666c9
add esp, 8
cmp dword [ebp - 0xef8], 7
lea eax, [ebp - 0xf0c]
push 0
cmova eax, dword [ebp - 0xf0c]
push eax
call fcn.10076b76
add esp, 8
cmp eax, 0xffffffff
jne 0x10038302
push str.Check_File_no_find
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x100388ef
call fcn.10028f00
lea ecx, [ebp - 0xe4c]
lea edx, [eax + 0x94]
call fcn.1001bc10
mov edi, eax
mov byte [ebp - 4], 5
call fcn.10047190
mov esi, eax
lea ecx, [ebp - 0xf40]
push esi
call fcn.10047770
lea eax, [esi + 0x88]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xe10]
call fcn.1001cea0
lea ecx, [ebp - 0xf40]
call fcn.100476c0
push edi
lea eax, [ebp - 0xe10]
mov byte [ebp - 4], 7
push eax
push dword [ebp - 0xf3c]
lea ecx, [ebp - 0xef4]
call fcn.10026800
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xdfc]
cmp ecx, 7
jbe 0x100383b3
mov edx, dword [ebp - 0xe10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100383a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e32
push ecx
push edx
call fcn.100666c9
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xe38]
cmp ecx, 7
jbe 0x100383f7
mov edx, dword [ebp - 0xe4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100383ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e32
push ecx
push edx
call fcn.100666c9
add esp, 8
xor eax, eax
mov dword [ebp - 0xe3c], 0
mov dword [ebp - 0xe38], 7
mov word [ebp - 0xe4c], ax
call fcn.10028f00
lea ecx, [ebp - 0xf24]
lea edx, [eax + 0x7c]
call fcn.1001bc10
mov edi, eax
mov byte [ebp - 4], 0xb
call fcn.10047190
mov esi, eax
lea ecx, [ebp - 0xf40]
push esi
call fcn.10047770
lea eax, [esi + 0x88]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xedc]
call fcn.1001cea0
lea ecx, [ebp - 0xf40]
call fcn.100476c0
push 5
push str._rr__
push ecx
lea ecx, [ebp - 0xedc]
mov byte [ebp - 4], 0xd
call fcn.10026a60
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.10026800
push 1
push 0x1009b8fc
lea ecx, [ebp - 0xec4]
mov byte [ebp - 4], 0xf
call fcn.1001d490
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 0x10038543
mov edx, dword [ebp - 0xec4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038539
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e37
push ecx
push edx
call fcn.100666c9
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 0x100385a4
mov edx, dword [ebp - 0xe4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003859a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e37
push ecx
push edx
call fcn.100666c9
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xec8]
cmp ecx, 7
jbe 0x100385e8
mov edx, dword [ebp - 0xedc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100385de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e37
push ecx
push edx
call fcn.100666c9
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 0x10038649
mov edx, dword [ebp - 0xf24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003863f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e37
push ecx
push edx
call fcn.100666c9
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 0x1009ac58
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.10003c90
push 1
sub esp, 8
lea eax, [ebp - 0xe10]
lea edx, [ebp - 0xef4]
push eax
call fcn.10034ab0
add esp, 0x28
test al, al
je 0x10038852
call fcn.10028f00
add eax, 0x34
mov dword [ebp - 0xf30], eax
cmp dword [eax + 0x14], 0xf
jbe 0x100386c0
mov eax, dword [eax]
mov dword [ebp - 0xf30], eax
call fcn.10028f00
add eax, 0x34
cmp dword [eax + 0x14], 0xf
jbe 0x100386d0
mov eax, dword [eax]
test eax, eax
je 0x10038846
lea eax, [ebp - 0xf2c]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries000000000001
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10038846
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 0x10038846
cmp dword [ebp - 0xf28], 0x378
jne 0x10038846
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 0x10038770
sub ecx, edx
lea eax, [ebp - 0x390]
push ecx
push eax
lea ecx, [ebp - 0xeac]
call fcn.10003200
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 0x100387d0
dec eax
mov ecx, esi
cmp eax, esi
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x100387cc
cmp ecx, edx
je 0x100387d0
dec ecx
cmp byte [ecx], 0x5c
jne 0x100387c2
sub ecx, edx
jmp 0x100387d3
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 0x10038932
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe98]
cmp eax, 0xf
jbe 0x10038846
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003883c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e46
push ecx
push edi
call fcn.100666c9
add esp, 8
push 0
call fcn.100368b0
call fcn.100353d0
mov ecx, dword [ebp - 0xdfc]
cmp ecx, 7
jbe 0x10038892
mov edx, dword [ebp - 0xe10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038888
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e3c
push ecx
push edx
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0xee0]
cmp ecx, 7
jbe 0x100388d2
mov edx, dword [ebp - 0xef4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100388c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e3c
push ecx
push edx
call fcn.100666c9
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 0x10038e03
mov edx, dword [ebp - 0xf0c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038df9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e3c
jmp 0x10038df9
lea eax, [ebp - 0x708]
push eax
call fcn.100797f8
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 0x10038970
sub ecx, dword [ebp - 0xf38]
push ecx
push edx
lea ecx, [ebp - 0xe4c]
call fcn.10003200
push dword [ebp - 0xf2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xf34]
call fcn.100797f8
add esp, 4
push eax
push dword [ebp - 0xf30]
call fcn.100797f8
add esp, 4
push eax
call fcn.100795a9
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x10038d8c
cmp ecx, 0xf
jbe 0x100389fe
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100389f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e46
push ecx
push edx
call fcn.100666c9
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe98]
cmp eax, 0xf
jbe 0x10038a38
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10038a2e
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e46
push ecx
push edi
call fcn.100666c9
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 0x10038852
lea ecx, [ebp - 0xf28]
mov dword [ebp - 0xf28], 0
push ecx
push edi
call eax
test eax, eax
je 0x10038852
cmp dword [ebp - 0xf28], 0
je 0x10038852
call fcn.10028f00
cmp dword [eax + 0x60], 0xf
lea edi, [eax + 0x4c]
jbe 0x10038a98
mov edi, dword [edi]
call fcn.10028f00
add eax, 0x4c
mov dword [ebp - 0xf28], eax
cmp dword [eax + 0x14], 0xf
jbe 0x10038ab4
mov eax, dword [eax]
mov dword [ebp - 0xf28], eax
test edi, edi
je 0x10038846
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 0x10038846
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 0x10038846
cmp dword [ebp - 0xf34], 0x378
jne 0x10038846
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 0x10038b50
sub ecx, edx
lea eax, [ebp - 0xa80]
push ecx
push eax
lea ecx, [ebp - 0xe94]
call fcn.10003200
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 0x10038bae
dec eax
cmp eax, 0xffffffff
cmovb esi, eax
add esi, ecx
cmp byte [esi], 0x5c
je 0x10038baa
nop
cmp esi, ecx
je 0x10038bae
dec esi
cmp byte [esi], 0x5c
jne 0x10038ba0
sub esi, ecx
jmp 0x10038bb1
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 0x10038c1d
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe80]
cmp eax, 0xf
jbe 0x10038846
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003883c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e41
jmp 0x1003883c
lea eax, [ebp - 0xdf8]
push eax
call fcn.100797f8
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 0x10038c57
sub ecx, dword [ebp - 0xf44]
push ecx
push edx
lea ecx, [ebp - 0xe4c]
call fcn.10003200
push dword [ebp - 0xf30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.100797f8
add esp, 4
push eax
push dword [ebp - 0xf28]
call fcn.100797f8
add esp, 4
push eax
call fcn.100795a9
mov ecx, dword [ebp - 0xe38]
add esp, 8
test eax, eax
jne 0x10038d1b
cmp ecx, 0xf
jbe 0x10038cdc
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038cd2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e41
push ecx
push edx
call fcn.100666c9
add esp, 8
mov eax, dword [ebp - 0xe80]
cmp eax, 0xf
jbe 0x10038852
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10038d0c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e41
push ecx
push edi
call fcn.100666c9
add esp, 8
jmp 0x10038852
cmp ecx, 0xf
jbe 0x10038d4f
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e41
push ecx
push edx
call fcn.100666c9
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe80]
cmp eax, 0xf
jbe 0x10038846
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003883c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e41
jmp 0x1003883c
cmp ecx, 0xf
jbe 0x10038dc0
mov edx, dword [ebp - 0xe4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038db6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e46
push ecx
push edx
call fcn.100666c9
add esp, 8
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xe98]
cmp eax, 0xf
jbe 0x10038846
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1003883c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e46
jmp 0x1003883c
push ecx
push edx
call fcn.100666c9
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.1006636c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10070c0f
call fcn.10070c0f
call fcn.10070c0f
call fcn.10070c0f
call fcn.10070c0f
call fcn.10070c0f
call fcn.10070c0f
call fcn.10070c0f
int3