Function at 0x41e320
Capabilities:
Get common file path

Disassembly:
sub esp, 0x408
push ebx
mov ebx, dword [esp + 0x414]
push ebp
mov ebp, dword [esp + 0x414]
push ebx
push ebp
call fcn.00458cdd
add esp, 8
test eax, eax
jne 0x41e55b
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x214]
push ecx
lea edx, [esp + 0x318]
push edx
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.00458d80
add esp, 0x14
xor eax, eax
mov cl, byte [eax + 0x4993b8]
mov byte [esp + eax + 0xc], cl
inc eax
test cl, cl
jne 0x41e370
push edi
lea edi, [esp + 0x10]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41e385
mov ecx, dword [0x474610]
mov edx, dword [0x474614]
mov ax, word [0x474618]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov word [edi + 8], ax
lea eax, [esp + 0x214]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e3b1
lea edi, [esp + 0x10]
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41e3c0
push esi
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 + 0x118]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41e3e2
lea edi, [esp + 0x14]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41e3f2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.00458cdd
add esp, 8
test eax, eax
jne 0x41e559
mov edi, edi
mov cl, byte [eax + 0x4993b8]
mov byte [esp + eax + 0x14], cl
inc eax
test cl, cl
jne 0x41e420
lea edi, [esp + 0x14]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41e434
mov edx, dword [0x474600]
mov eax, dword [0x474604]
mov ecx, dword [0x474608]
mov dword [edi], edx
mov dx, word [0x47460c]
mov dword [edi + 4], eax
mov al, byte [0x47460e]
mov dword [edi + 8], ecx
mov word [edi + 0xc], dx
mov byte [edi + 0xe], al
lea eax, [esp + 0x218]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e471
lea edi, [esp + 0x14]
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41e480
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 + 0x118]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41e4a1
lea edi, [esp + 0x14]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41e4b1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.00458cdd
add esp, 8
test eax, eax
jne 0x41e559
lea edx, [esp + 0x14]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e4f4
sub eax, edx
cmp byte [esp + eax + 0x13], 0x5c
je 0x41e521
lea edi, [esp + 0x14]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41e510
mov ax, word [0x4745fc]
mov word [edi], ax
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e525
lea edi, [esp + 0x14]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41e533
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 ecx, [esp + 0x14]
push ebx
push ecx
call fcn.00458cdd
add esp, 8
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x408
ret