Function at 0x44a520
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ae88c
mov eax, dword fs:[0]
push eax
mov eax, 0x2af4
call fcn.0047af70
mov eax, dword [0x4d1644]
xor eax, esp
mov dword [esp + 0x2af0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d1644]
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.0047a360
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 0x44a5d5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2900]
push eax
lea ecx, [esp + 0x4c]
call fcn.00402467
mov eax, dword [esp + 0x58]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x44a606
call fcn.0047a2b7
mov eax, dword [esp + 0x48]
mov ebp, 8
cmp dword [esp + 0x5c], ebp
jae 0x44a619
lea eax, [esp + 0x48]
cmp word [eax + esi*2], 0x5c
je 0x44a671
push 1
push 0x4b775c
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
call fcn.00402467
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x2b1c], 2
call fcn.0040c510
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x2b10], 1
jb 0x44a671
mov edx, dword [esp + 0x2c]
push edx
call fcn.00479e49
add esp, 4
push 0x4b9808
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0040cbf0
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2b1c], 3
call fcn.00402186
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x2b10], 1
jb 0x44a6b8
mov edx, dword [esp + 0x2c]
push edx
call fcn.00479e49
add esp, 4
cmp dword [esp + 0x78], ebp
mov eax, dword [esp + 0x64]
jae 0x44a6c6
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 0x44a711
cmp dword [esp + 0x5c], ebp
jb 0x44a6ea
mov eax, dword [esp + 0x48]
push eax
call fcn.00479e49
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x44a70a
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00479e49
add esp, 4
xor al, al
jmp 0x44a832
push 0x4b97f8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x44a7d5
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x2c], 0x2880
call eax
test eax, eax
jne 0x44a7d5
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 0x44a760
lea eax, [esi + 8]
push eax
call fcn.0044a370
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 0x44a799
add ecx, 1
cmp ecx, 6
jb 0x44a780
jmp 0x44a7a6
cmp dword [esi + 0x1a0], 6
jne 0x44a7c4
cmp ebp, edi
jle 0x44a7c4
xor ecx, ecx
jmp 0x44a7b0
mov dl, byte [esi + ecx + 0x194]
mov byte [ebx + ecx], dl
add ecx, 1
cmp ecx, 6
jl 0x44a7b0
mov ebp, edi
mov esi, dword [esi]
test esi, esi
jne 0x44a760
lea ebp, [esi + 8]
mov esi, dword [esp + 0x20]
xor edi, edi
jmp 0x44a7d9
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.00449ed0
cmp dword [esp + 0x5c], ebp
mov bl, al
jb 0x44a80c
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00479e49
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x44a830
mov edx, dword [esp + 0x64]
push edx
call fcn.00479e49
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.00479e10
add esp, 0x2b00
ret