Function at 0x40841e
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d4
push ebx
push esi
mov eax, 0x104
push edi
mov dword [ebp - 0x88], eax
push eax
lea eax, [ebp - 0x1e0]
push 0
push eax
call sub.MSVCRT.dll_memset
push 0x2e
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
je 0x4087ec
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and byte [ebp - 0x3f], 0
lea eax, [ebp - 0x4c]
mov edi, str.ADVAPI32.dll
push eax
push edi
mov byte [ebp - 0x4c], 0x52
mov byte [ebp - 0x4b], 0x65
mov byte [ebp - 0x4a], 0x67
mov byte [ebp - 0x49], 0x4f
mov byte [ebp - 0x48], 0x70
mov byte [ebp - 0x47], 0x65
mov byte [ebp - 0x46], 0x6e
mov byte [ebp - 0x45], 0x4b
mov byte [ebp - 0x44], 0x65
mov byte [ebp - 0x43], 0x79
mov byte [ebp - 0x42], 0x45
mov byte [ebp - 0x41], 0x78
mov byte [ebp - 0x40], 0x41
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], eax
push ecx
push 0xf003f
push 0
push dword [ebp - 4]
push SysReAllocString
call eax
test eax, eax
jne 0x4087ec
and byte [ebp - 0x4e], al
lea eax, [ebp - 0x5c]
push eax
push edi
mov byte [ebp - 0x5c], 0x52
mov byte [ebp - 0x5b], 0x65
mov byte [ebp - 0x5a], 0x67
mov byte [ebp - 0x59], 0x51
mov byte [ebp - 0x58], 0x75
mov byte [ebp - 0x57], 0x65
mov byte [ebp - 0x56], 0x72
mov byte [ebp - 0x55], 0x79
mov byte [ebp - 0x54], 0x56
mov byte [ebp - 0x53], 0x61
mov byte [ebp - 0x52], 0x6c
mov byte [ebp - 0x51], 0x75
mov byte [ebp - 0x50], 0x65
mov byte [ebp - 0x4f], 0x41
call esi
push eax
call ebx
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], eax
push ecx
lea ecx, [ebp - 0x1e0]
push ecx
push 0
push dword [ebp - 0xc]
call eax
and byte [ebp - 0x31], 0
lea eax, [ebp - 0x3c]
push eax
push edi
mov byte [ebp - 0x3c], 0x52
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x3a], 0x67
mov byte [ebp - 0x39], 0x43
mov byte [ebp - 0x38], 0x6c
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x73
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x4b
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x79
call esi
push eax
call ebx
push dword [ebp - 0xc]
mov edi, eax
call edi
push 0x1f4
lea eax, [ebp - 0x3d4]
push 0
push eax
call sub.MSVCRT.dll_memset
and byte [ebp - 0x27], 0
add esp, 0xc
lea eax, [ebp - 0x30]
mov byte [ebp - 0x30], 0x77
push eax
push str.USER32.dll
mov byte [ebp - 0x2f], 0x73
mov byte [ebp - 0x2e], 0x70
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x69
mov byte [ebp - 0x2b], 0x6e
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x66
mov byte [ebp - 0x28], 0x41
call esi
push eax
call ebx
mov byte [ebp - 0x84], 0x25
mov byte [ebp - 0x83], 0x73
mov byte [ebp - 0x82], 0x5c
mov byte [ebp - 0x81], 0x73
mov byte [ebp - 0x80], 0x68
mov byte [ebp - 0x7f], 0x65
mov byte [ebp - 0x7e], 0x6c
mov byte [ebp - 0x7d], 0x6c
mov byte [ebp - 0x7c], 0x5c
lea ecx, [ebp - 0x1e0]
and byte [ebp - 0x6f], 0
push ecx
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x3d4]
push ecx
mov byte [ebp - 0x7b], 0x6f
mov byte [ebp - 0x7a], 0x70
mov byte [ebp - 0x79], 0x65
mov byte [ebp - 0x78], 0x6e
mov byte [ebp - 0x77], 0x5c
mov byte [ebp - 0x76], 0x63
mov byte [ebp - 0x75], 0x6f
mov byte [ebp - 0x74], 0x6d
mov byte [ebp - 0x73], 0x6d
mov byte [ebp - 0x72], 0x61
mov byte [ebp - 0x71], 0x6e
mov byte [ebp - 0x70], 0x64
call eax
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0xf003f
lea eax, [ebp - 0x3d4]
push 0
push eax
push SysReAllocString
call dword [ebp - 8]
test eax, eax
jne 0x4087ec
push 0x104
push eax
lea eax, [ebp - 0x1e0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0x104
push eax
lea eax, [ebp - 0x1e0]
push eax
push 0
push dword [ebp - 0xc]
call dword [ebp - 4]
push dword [ebp - 0xc]
call edi
mov ecx, dword [0x42d2a8]
lea eax, [ebp - 0x1e0]
push 0x4267ec
push eax
call fcn.0040d6bd
test eax, eax
mov dword [ebp - 8], eax
jne 0x4086cc
mov ecx, dword [0x42d2a8]
lea eax, [ebp - 0x1e0]
push 0x4267e8
push eax
call fcn.0040d6bd
mov dword [ebp - 8], eax
and byte [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov edi, str.KERNEL32.dll
push eax
push edi
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x61
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x41
call esi
push eax
call ebx
and byte [ebp - 0x1c], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x24], 0x6c
push eax
push edi
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x63
mov byte [ebp - 0x1f], 0x70
mov byte [ebp - 0x1e], 0x79
mov byte [ebp - 0x1d], 0x41
call esi
push eax
call ebx
cmp dword [ebp - 8], 0
jne 0x408754
lea eax, [ebp - 0x1e0]
push 0x42655c
push eax
call dword [ebp - 4]
push dword [ebp + 8]
lea eax, [ebp - 0x1e0]
push eax
call dword [ebp - 4]
jmp 0x40875c
push dword [ebp + 8]
push dword [ebp - 8]
call eax
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0xd8]
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0xdc], 0x44
cmp dword [ebp + 0xc], edi
je 0x408784
mov dword [ebp - 0xd4], str.WinSta0Default
and byte [ebp - 0x5e], 0
lea eax, [ebp - 0x6c]
push eax
push str.KERNEL32.dll
mov byte [ebp - 0x6c], 0x43
mov byte [ebp - 0x6b], 0x72
mov byte [ebp - 0x6a], 0x65
mov byte [ebp - 0x69], 0x61
mov byte [ebp - 0x68], 0x74
mov byte [ebp - 0x67], 0x65
mov byte [ebp - 0x66], 0x50
mov byte [ebp - 0x65], 0x72
mov byte [ebp - 0x64], 0x6f
mov byte [ebp - 0x63], 0x63
mov byte [ebp - 0x62], 0x65
mov byte [ebp - 0x61], 0x73
mov byte [ebp - 0x60], 0x73
mov byte [ebp - 0x5f], 0x41
call esi
push eax
call ebx
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0xdc]
push ecx
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x1e0]
push edi
push ecx
push edi
call eax
pop edi
pop esi
xor al, al
pop ebx
leave
ret 8