Function at 0x449d50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ad6ac
mov eax, dword fs:[0]
push eax
mov eax, 0x2af4
call fcn.00479e30
mov eax, dword [0x4cf640]
xor eax, esp
mov dword [esp + 0x2af0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cf640]
xor eax, esp
push eax
lea eax, [esp + 0x2b08]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2b18]
xor edi, edi
mov ebx, 7
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
mov word [esp + 0x64], di
mov dword [esp + 0x2b10], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
push 0x206
lea ecx, [esp + 0x2902]
push edi
push ecx
mov byte [esp + 0x2b1c], 1
mov word [esp + 0x2908], di
call fcn.00479220
add esp, 0xc
push 0x104
lea edx, [esp + 0x2900]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x28fc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x449e05
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2900]
push eax
lea ecx, [esp + 0x4c]
call fcn.0040244b
mov eax, dword [esp + 0x58]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x449e36
call fcn.00479177
mov eax, dword [esp + 0x48]
mov ebp, 8
cmp dword [esp + 0x5c], ebp
jae 0x449e49
lea eax, [esp + 0x48]
cmp word [eax + esi*2], 0x5c
je 0x449ea1
push 1
push 0x4b5754
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
call fcn.0040244b
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x2b1c], 2
call fcn.0040c4f0
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x2b10], 1
jb 0x449ea1
mov edx, dword [esp + 0x2c]
push edx
call fcn.00478d09
add esp, 4
push 0x4b77f8
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0040cba0
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2b1c], 3
call fcn.0040216a
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x2b10], 1
jb 0x449ee8
mov edx, dword [esp + 0x2c]
push edx
call fcn.00478d09
add esp, 4
cmp dword [esp + 0x78], ebp
mov eax, dword [esp + 0x64]
jae 0x449ef6
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x20], esi
jne 0x449f41
cmp dword [esp + 0x5c], ebp
jb 0x449f1a
mov eax, dword [esp + 0x48]
push eax
call fcn.00478d09
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x449f3a
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00478d09
add esp, 4
xor al, al
jmp 0x44a062
push 0x4b77e8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x44a005
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x2c], 0x2880
call eax
test eax, eax
jne 0x44a005
mov ebx, dword [esp + 0x14]
lea ebp, [eax + 3]
mov eax, ebx
lea edx, [esp + 0x1a]
sub eax, edx
lea esi, [esp + 0x7c]
mov dword [esp + 0x14], eax
jmp 0x449f90
lea eax, [esi + 8]
push eax
call fcn.00449ba0
add esp, 4
xor ecx, ecx
mov edi, eax
mov dword [esp + 0x1a], ecx
mov word [esp + 0x1e], cx
lea esp, [esp]
mov eax, dword [esp + 0x14]
lea edx, [esp + ecx + 0x1a]
mov al, byte [eax + edx]
cmp al, byte [edx]
jne 0x449fc9
add ecx, 1
cmp ecx, 6
jb 0x449fb0
jmp 0x449fd6
cmp dword [esi + 0x1a0], 6
jne 0x449ff4
cmp ebp, edi
jle 0x449ff4
xor ecx, ecx
jmp 0x449fe0
mov dl, byte [esi + ecx + 0x194]
mov byte [ebx + ecx], dl
add ecx, 1
cmp ecx, 6
jl 0x449fe0
mov ebp, edi
mov esi, dword [esi]
test esi, esi
jne 0x449f90
lea ebp, [esi + 8]
mov esi, dword [esp + 0x20]
xor edi, edi
jmp 0x44a009
mov ebx, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
lea eax, [esp + 0x1a]
push eax
mov ecx, ebx
call fcn.00449700
cmp dword [esp + 0x5c], ebp
mov bl, al
jb 0x44a03c
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00478d09
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x44a060
mov edx, dword [esp + 0x64]
push edx
call fcn.00478d09
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x2b08]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2af0]
xor ecx, esp
call fcn.00478cd0
add esp, 0x2b00
ret