Function at 0x421ec0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x47c
mov eax, dword [0x4310d8]
push ebx
mov dword [esp + 0x47c], eax
mov al, 0x7c
push esi
mov cl, 0x2c
mov dl, 0xf
push edi
mov byte [esp + 0x38], 0x54
mov byte [esp + 0x39], cl
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], 0xc
mov byte [esp + 0x3c], 0x12
mov byte [esp + 0x3d], al
mov byte [esp + 0x3e], cl
mov byte [esp + 0x3f], 0xe7
mov byte [esp + 0x40], 0x50
mov byte [esp + 0x41], 0x8d
mov byte [esp + 0x42], 0x53
mov byte [esp + 0x43], 0x29
mov byte [esp + 0x44], 0xa2
mov byte [esp + 0x45], 0xa8
mov byte [esp + 0x46], 0x4e
mov byte [esp + 0x47], 0x45
mov byte [esp + 0x48], 0xc5
mov byte [esp + 0x10], 0x19
mov byte [esp + 0x11], 0x47
mov byte [esp + 0x12], 0xee
mov byte [esp + 0x13], 0x5d
mov byte [esp + 0x14], 0x22
mov byte [esp + 0x15], 0xb8
mov byte [esp + 0x16], 0xd
mov byte [esp + 0x17], al
mov byte [esp + 0x18], 0xe1
mov byte [esp + 0x19], 0xa7
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], 0xe
mov byte [esp + 0x1c], 0x8c
mov byte [esp + 0x1d], 0xbc
mov byte [esp + 0x1e], 0x1e
mov byte [esp + 0x1f], 0x27
mov byte [esp + 0x20], 0x3b
xor esi, esi
mov bl, byte [esp + esi + 0x10]
add byte [esp + esi + 0x38], bl
inc esi
cmp esi, 0x11
jl 0x421f87
mov byte [esp + 0x24], 0x54
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], al
mov byte [esp + 0x27], 0xc
mov byte [esp + 0x28], 0x12
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], 0xe7
mov byte [esp + 0x2c], 0x50
mov byte [esp + 0x2d], 0x8d
mov byte [esp + 0x2e], 0x53
mov byte [esp + 0x2f], 0x29
mov byte [esp + 0x30], 0xa2
mov byte [esp + 0x31], 0xa8
mov byte [esp + 0x32], 0x4e
mov byte [esp + 0x33], 0x45
mov byte [esp + 0x34], 0xc5
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], 0x41
mov byte [esp + 0x12], 0xf9
mov byte [esp + 0x13], 0x68
mov byte [esp + 0x14], 0x22
mov byte [esp + 0x15], 0xb8
mov byte [esp + 0x16], 0xd
mov byte [esp + 0x17], al
mov byte [esp + 0x18], 0xe1
mov byte [esp + 0x19], 0xa7
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], 0xe
mov byte [esp + 0x1c], 0x8c
mov byte [esp + 0x1d], 0xbc
mov byte [esp + 0x1e], 0x1e
mov byte [esp + 0x1f], 0x27
mov byte [esp + 0x20], 0x3b
xor esi, esi
lea ebx, [ebx]
mov bl, byte [esp + esi + 0x10]
add byte [esp + esi + 0x24], bl
inc esi
cmp esi, 0x11
jl 0x422040
mov byte [esp + 0x12], al
mov byte [esp + 0x15], al
mov byte [esp + 0x53], al
mov byte [esp + 0x10], 0x54
mov byte [esp + 0x11], cl
mov byte [esp + 0x13], 0xc
mov byte [esp + 0x14], 0x12
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], 0xe7
mov byte [esp + 0x18], 0x50
mov byte [esp + 0x19], 0x8d
mov byte [esp + 0x1a], 0x53
mov byte [esp + 0x1b], 0x29
mov byte [esp + 0x1c], 0xa2
mov byte [esp + 0x1d], 0xa8
mov byte [esp + 0x1e], 0x4e
mov byte [esp + 0x1f], 0x45
mov byte [esp + 0x20], 0xc5
mov byte [esp + 0x4c], 0x14
mov byte [esp + 0x4d], 0x44
mov byte [esp + 0x4e], 0xfe
mov byte [esp + 0x4f], 0x60
mov byte [esp + 0x50], 0x22
mov byte [esp + 0x51], 0xb8
mov byte [esp + 0x52], 0xd
mov byte [esp + 0x54], 0xe1
mov byte [esp + 0x55], 0xa7
mov byte [esp + 0x56], dl
mov byte [esp + 0x57], 0xe
mov byte [esp + 0x58], 0x8c
mov byte [esp + 0x59], 0xbd
mov byte [esp + 0x5a], 0x2a
mov byte [esp + 0x5b], 0x20
mov byte [esp + 0x5c], 0x3b
xor eax, eax
mov bl, byte [esp + eax + 0x10]
mov cl, byte [esp + eax + 0x4c]
add bl, cl
mov byte [esp + eax + 0x10], bl
inc eax
cmp eax, 0x11
jl 0x4220f4
push 0x104
lea edx, [esp + 0x37c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x270]
rep stosd dword es:[edi], eax
jmp 0x422130
mov cl, byte [esp + eax + 0x378]
mov byte [esp + eax + 0x270], cl
inc eax
test cl, cl
jne 0x422130
lea edi, [esp + 0x270]
dec edi
jmp 0x422150
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x422150
mov bx, word [0x42e308]
lea eax, [esp + 0x38]
mov word [edi], bx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422168
lea edi, [esp + 0x270]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x422180
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
jmp 0x4221b0
mov cl, byte [esp + eax + 0x378]
mov byte [esp + eax + 0x60], cl
inc eax
test cl, cl
jne 0x4221b0
lea edi, [esp + 0x60]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4221c5
lea eax, [esp + 0x24]
mov word [edi], bx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4221d6
lea edi, [esp + 0x60]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4221e4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x168]
rep stosd dword es:[edi], eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x378]
mov byte [esp + eax + 0x168], cl
inc eax
test cl, cl
jne 0x422210
lea edi, [esp + 0x168]
dec edi
jmp 0x422230
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x422230
lea eax, [esp + 0x10]
mov word [edi], bx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422241
lea edi, [esp + 0x168]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x422252
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x270]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call esi
cmp eax, 0xffffffff
jne 0x422296
push 0x42e424
lea ecx, [esp + 0x274]
push ecx
push 0
call fcn.00421e40
add esp, 0xc
lea edx, [esp + 0x60]
push edx
call esi
cmp eax, 0xffffffff
jne 0x4222b6
push 0x42e420
lea eax, [esp + 0x64]
push eax
push 0
call fcn.00421e40
add esp, 0xc
lea ecx, [esp + 0x168]
push ecx
call esi
cmp eax, 0xffffffff
jne 0x4222dc
push 0x42e41c
lea edx, [esp + 0x16c]
push edx
push 0
call fcn.00421e40
add esp, 0xc
call fcn.004223a0
mov ecx, dword [esp + 0x484]
mov eax, 1
call fcn.00424873
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret