Function at 0x10002fdc
Capabilities:
Contain obfuscated stackstrings
Rebuild import table
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x594
mov eax, dword [0x1009d350]
xor eax, esp
mov dword [esp + 0x590], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [0x100a01c8], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov dword [0x100a01d0], eax
mov eax, dword [ebp + 0xc]
push 0x3ff
mov dword [0x100a01cc], eax
lea eax, [esp + 0x19d]
push 0
push eax
mov byte [esp + 0x1a4], 0
call fcn.1004e5f0
add esp, 0xc
lea ecx, [esp + 0x198]
call fcn.10001990
push 4
lea eax, [esp + 0x19c]
push 0x10092480
push eax
call fcn.1004fc64
add esp, 0xc
mov edi, 0x1009d2a8
push edi
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.100072a8
mov esi, 0x400
push esi
lea ecx, [esp + 0x10]
call fcn.1000662b
mov ecx, eax
call fcn.10001990
push ecx
lea ecx, [esp + 0x10]
call fcn.10006669
push edi
lea ecx, [esp + 0x14]
call fcn.100072a8
push esi
lea ecx, [esp + 0x14]
call fcn.1000662b
mov ecx, eax
call fcn.10001990
push ecx
lea ecx, [esp + 0x14]
call fcn.10006669
push edi
lea ecx, [esp + 0x1c]
call fcn.100072a8
push esi
lea ecx, [esp + 0x1c]
call fcn.1000662b
mov ecx, eax
call fcn.10001990
push ecx
lea ecx, [esp + 0x1c]
call fcn.10006669
push edi
lea ecx, [esp + 0x18]
call fcn.100072a8
push esi
lea ecx, [esp + 0x18]
call fcn.1000662b
mov ecx, eax
call fcn.10001990
push ecx
lea ecx, [esp + 0x18]
call fcn.10006669
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x73], 0x336c656e
mov dword [esp + 0x79], 0x6c6c64
mov word [esp + 0x71], 0x7265
mov byte [esp + 0x70], 0x4b
mov word [esp + 0x77], 0x2e32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [esp + 0xc]
test eax, eax
je 0x1000333c
lea ecx, [esp + 0x7c]
push ecx
push eax
mov word [esp + 0x8a], 0x6c75
mov word [esp + 0x94], 0x4165
mov dword [esp + 0x86], 0x646f4d74
mov dword [esp + 0x8d], 0x656c6946
mov word [esp + 0x91], 0x614e
mov byte [esp + 0x8c], 0x65
mov byte [esp + 0x96], 0
mov word [esp + 0x84], 0x6547
mov byte [esp + 0x93], 0x6d
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x103
mov esi, eax
lea eax, [esp + 0x95]
push 0
push eax
mov byte [esp + 0x9c], 0
call fcn.1004e5f0
add esp, 0xc
lea eax, [esp + 0x90]
push 0x104
push eax
push 0
call esi
lea ecx, [esp + 0x90]
call fcn.10002c0e
test ebx, ebx
je 0x100031d9
test al, al
je 0x100031d9
xor bl, bl
jmp 0x100031db
mov bl, 1
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.10002e1d
test bl, bl
jne 0x100031f6
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x10003276
push 0x1009d2a8
lea ecx, [esp + 0x20]
call fcn.100072a8
push 0x10
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.100064cc
push edi
push str.c684b0d8ec2b43868f19752eb4062f1f
push dword [eax]
lea eax, [esp + 0x28]
push str._s_s_s
push eax
call fcn.10009163
mov ecx, dword [esp + 0x34]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.10001821
mov esi, dword [esp + 0x1c]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.10005a00
lea ecx, [esp + 0x54]
call fcn.10009ca5
add esp, 0x18
lea ecx, [esp + 0x24]
push eax
call fcn.10005a52
lea ecx, [esp + 0x3c]
call fcn.10005a8a
lea ecx, [esi - 0x10]
call fcn.10001821
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x38], 0x10
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push ecx
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push eax
push 1
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x64]
push eax
mov ebx, reloc.WS2_32.dll_bind
push ebx
mov word [esp + 0x76], 0x4f53
mov word [esp + 0x6f], 0x7774
mov dword [esp + 0x71], 0x5c657261
mov byte [esp + 0x78], 0
mov word [esp + 0x6c], 0x6f53
mov byte [esp + 0x75], 0x53
mov byte [esp + 0x6e], 0x66
mov dword [esp + 0x7c], 0x6b636954
mov word [esp + 0x81], 0x74
mov byte [esp + 0x80], 0x65
call esi
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], 0x646967
push dword [eax - 0xc]
push eax
push 1
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x64]
push eax
push ebx
call esi
mov eax, dword [esp + 0x18]
push dword [eax - 0xc]
push eax
push 1
push 0x1009248c
lea eax, [esp + 0x64]
push eax
push ebx
call esi
mov eax, dword [esp + 0x14]
push dword [eax - 0xc]
push eax
push 1
push 0x10092490
lea eax, [esp + 0x64]
push eax
push ebx
call esi
lea ecx, [esp + 0x24]
call fcn.10005a8a
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.10001821
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.10001821
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.10001821
lea ecx, [edi - 0x10]
call fcn.10001821
mov ecx, dword [esp + 0x59c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004bbda
mov esp, ebp
pop ebp
ret