Function at 0x421900
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x421f74
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00406c44
lea eax, [ebp - 0xc]
mov edx, 0x400
call fcn.00407880
mov eax, dword [ebp - 0xc]
call fcn.00407780
mov edx, 0x800
call fcn.0040cb80
mov eax, dword [ebp - 0xc]
call fcn.004070e8
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407780
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryW
mov eax, dword [ebp - 0xc]
call fcn.004070e8
test eax, eax
jle 0x421994
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [eax + edx*2 - 2], 0
jne 0x42198c
mov edx, dword [ebp - 0x14]
dec edx
lea eax, [ebp - 0xc]
call fcn.00407880
jmp 0x421994
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x421970
mov eax, dword [ebp - 0xc]
call fcn.004070e8
test eax, eax
jle 0x4219c0
mov eax, dword [ebp - 0xc]
call fcn.004070e8
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 2], 0x5c
je 0x4219c0
lea eax, [ebp - 0xc]
mov edx, 0x421f8c
call fcn.00407900
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x46d600]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00407958
mov eax, dword [ebp - 0x10]
call fcn.00407780
push eax
call sub.KERNEL32.DLL_LoadLibraryW
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x475918], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xd
jne 0x4219c5
push ebp
mov edx, 0x421f90
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d704], eax
push ebp
mov edx, 0x421fd0
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d708], eax
push ebp
mov edx, 0x422014
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d70c], eax
push ebp
mov edx, 0x422034
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d710], eax
push ebp
mov edx, 0x42205c
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d714], eax
push ebp
mov edx, 0x42207c
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d718], eax
push ebp
mov edx, 0x42209c
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d71c], eax
push ebp
mov edx, 0x4220bc
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d720], eax
push ebp
mov edx, 0x4220ec
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d724], eax
push ebp
mov edx, 0x422120
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d728], eax
push ebp
mov edx, 0x422160
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d72c], eax
push ebp
mov edx, 0x42219c
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d730], eax
push ebp
mov edx, 0x4221d0
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d734], eax
push ebp
mov edx, 0x4221f0
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d738], eax
push ebp
mov edx, 0x42221c
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d73c], eax
push ebp
mov edx, 0x422248
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d740], eax
push ebp
mov edx, 0x422278
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d744], eax
push ebp
mov edx, 0x422298
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d748], eax
push ebp
mov edx, 0x4222c8
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d74c], eax
push ebp
mov edx, 0x4222f0
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d750], eax
push ebp
mov edx, 0x422310
xor eax, eax
call fcn.004218d0
pop ecx
mov dword [0x46d754], eax
push ebp
mov edx, 0x422334
mov eax, 5
call fcn.004218d0
pop ecx
mov dword [0x46d758], eax
push ebp
mov edx, 0x422364
mov eax, 5
call fcn.004218d0
pop ecx
mov dword [0x46d75c], eax
push ebp
mov edx, 0x42238c
mov eax, 5
call fcn.004218d0
pop ecx
mov dword [0x46d760], eax
push ebp
mov edx, 0x4223ac
mov eax, 6
call fcn.004218d0
pop ecx
mov dword [0x46d764], eax
push ebp
mov edx, 0x4223d8
mov eax, 6
call fcn.004218d0
pop ecx
mov dword [0x46d768], eax
push ebp
mov edx, 0x42240c
mov eax, 6
call fcn.004218d0
pop ecx
mov dword [0x46d76c], eax
push ebp
mov edx, 0x422438
mov eax, 6
call fcn.004218d0
pop ecx
mov dword [0x46d770], eax
push ebp
mov edx, 0x422464
mov eax, 6
call fcn.004218d0
pop ecx
mov dword [0x46d774], eax
push ebp
mov edx, 0x42248c
mov eax, 8
call fcn.004218d0
pop ecx
mov dword [0x46d778], eax
push ebp
mov edx, 0x4224c0
mov eax, 8
call fcn.004218d0
pop ecx
mov dword [0x46d77c], eax
push ebp
mov edx, 0x4224f4
mov eax, 8
call fcn.004218d0
pop ecx
mov dword [0x46d780], eax
push ebp
mov edx, 0x42252c
mov eax, 8
call fcn.004218d0
pop ecx
mov dword [0x46d784], eax
push ebp
mov edx, 0x422554
mov eax, 1
call fcn.004218d0
pop ecx
mov dword [0x46d788], eax
push ebp
mov edx, 0x422580
mov eax, 1
call fcn.004218d0
pop ecx
mov dword [0x46d78c], eax
push ebp
mov edx, 0x4225b0
mov eax, 1
call fcn.004218d0
pop ecx
mov dword [0x46d790], eax
push ebp
mov edx, 0x4225ec
mov eax, 2
call fcn.004218d0
pop ecx
mov dword [0x46d794], eax
push ebp
mov edx, 0x422614
mov eax, 2
call fcn.004218d0
pop ecx
mov dword [0x46d798], eax
push ebp
mov edx, 0x422634
mov eax, 2
call fcn.004218d0
pop ecx
mov dword [0x46d79c], eax
push ebp
mov edx, 0x422660
mov eax, 2
call fcn.004218d0
pop ecx
mov dword [0x46d7a0], eax
push ebp
mov edx, 0x422690
mov eax, 2
call fcn.004218d0
pop ecx
mov dword [0x46d7a4], eax
push ebp
mov edx, 0x4226bc
mov eax, 2
call fcn.004218d0
pop ecx
mov dword [0x46d7a8], eax
push ebp
mov edx, 0x4226e8
mov eax, 4
call fcn.004218d0
pop ecx
mov dword [0x46d7ac], eax
push ebp
mov edx, 0x422718
mov eax, 4
call fcn.004218d0
pop ecx
mov dword [0x46d7b0], eax
push 0x42273c
call sub.KERNEL32.DLL_GetModuleHandleW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x421de3
push 0x422750
mov eax, dword [ebp - 8]
push eax
call fcn.0040c808
mov dword [0x46d7b4], eax
push 0x422784
mov eax, dword [ebp - 8]
push eax
call fcn.0040c808
mov dword [0x46d7b8], eax
push 0x4227b8
mov eax, dword [ebp - 8]
push eax
call fcn.0040c808
mov dword [0x46d7bc], eax
push 0x4227fc
mov eax, dword [ebp - 8]
push eax
call fcn.0040c808
mov dword [0x46d7c0], eax
push ebp
mov edx, 0x422834
mov eax, 9
call fcn.004218d0
pop ecx
mov dword [0x46d7c4], eax
push ebp
mov edx, 0x42285c
mov eax, 9
call fcn.004218d0
pop ecx
mov dword [0x46d7c8], eax
push ebp
mov edx, 0x422884
mov eax, 9
call fcn.004218d0
pop ecx
mov dword [0x46d7cc], eax
push ebp
mov edx, 0x4228b0
mov eax, 0xb
call fcn.004218d0
pop ecx
mov dword [0x46d7d0], eax
push ebp
mov edx, 0x4228d0
mov eax, 0xb
call fcn.004218d0
pop ecx
mov dword [0x46d7d4], eax
push ebp
mov edx, 0x4228f0
mov eax, 0xb
call fcn.004218d0
pop ecx
mov dword [0x46d7d8], eax
push ebp
mov edx, 0x422918
mov eax, 0xb
call fcn.004218d0
pop ecx
mov dword [0x46d7dc], eax
push ebp
mov edx, 0x422940
mov eax, 0xb
call fcn.004218d0
pop ecx
mov dword [0x46d7e0], eax
push ebp
mov edx, 0x42296c
mov eax, 0xb
call fcn.004218d0
pop ecx
mov dword [0x46d7e4], eax
push ebp
mov edx, 0x4229a4
mov eax, 0xb
call fcn.004218d0
pop ecx
mov dword [0x46d7e8], eax
push ebp
mov edx, 0x4229c4
mov eax, 0xc
call fcn.004218d0
pop ecx
mov dword [0x46d7ec], eax
push ebp
mov edx, 0x4229fc
mov eax, 0xc
call fcn.004218d0
pop ecx
mov dword [0x46d7f0], eax
push ebp
mov edx, 0x422a38
mov eax, 0xc
call fcn.004218d0
pop ecx
mov dword [0x46d7f4], eax
push ebp
mov edx, 0x422a5c
mov eax, 0xc
call fcn.004218d0
pop ecx
mov dword [0x46d7f8], eax
push ebp
mov edx, 0x422a80
mov eax, 0xc
call fcn.004218d0
pop ecx
mov dword [0x46d7fc], eax
push ebp
mov edx, 0x422aa0
mov eax, 0xc
call fcn.004218d0
pop ecx
mov dword [0x46d800], eax
push ebp
mov edx, 0x422ac4
mov eax, 0xc
call fcn.004218d0
pop ecx
mov dword [0x46d804], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421f7b
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00406ca4
inc ebx