Function at 0x44d140
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c03dc
mov eax, dword fs:[0]
push eax
mov eax, 0x2af4
call fcn.0048cf10
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x2af0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e880c]
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.0048c300
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 0x44d1f5
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 0x44d226
call fcn.0048c687
mov eax, dword [esp + 0x48]
mov ebp, 8
cmp dword [esp + 0x5c], ebp
jae 0x44d239
lea eax, [esp + 0x48]
cmp word [eax + esi*2], 0x5c
je 0x44d291
push 1
push 0x4caa50
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.0040d400
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x2b10], 1
jb 0x44d291
mov edx, dword [esp + 0x2c]
push edx
call fcn.0048c049
add esp, 4
push 0x4cdf38
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0040dae0
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 0x44d2d8
mov edx, dword [esp + 0x2c]
push edx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x78], ebp
mov eax, dword [esp + 0x64]
jae 0x44d2e6
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 0x44d331
cmp dword [esp + 0x5c], ebp
jb 0x44d30a
mov eax, dword [esp + 0x48]
push eax
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x44d32a
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0048c049
add esp, 4
xor al, al
jmp 0x44d452
push 0x4cdf28
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x44d3f5
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x2c], 0x2880
call eax
test eax, eax
jne 0x44d3f5
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 0x44d380
lea eax, [esi + 8]
push eax
call fcn.0044cf90
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 0x44d3b9
add ecx, 1
cmp ecx, 6
jb 0x44d3a0
jmp 0x44d3c6
cmp dword [esi + 0x1a0], 6
jne 0x44d3e4
cmp ebp, edi
jle 0x44d3e4
xor ecx, ecx
jmp 0x44d3d0
mov dl, byte [esi + ecx + 0x194]
mov byte [ebx + ecx], dl
add ecx, 1
cmp ecx, 6
jl 0x44d3d0
mov ebp, edi
mov esi, dword [esi]
test esi, esi
jne 0x44d380
lea ebp, [esi + 8]
mov esi, dword [esp + 0x20]
xor edi, edi
jmp 0x44d3f9
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.0044caf0
cmp dword [esp + 0x5c], ebp
mov bl, al
jb 0x44d42c
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x44d450
mov edx, dword [esp + 0x64]
push edx
call fcn.0048c049
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.0048c010
add esp, 0x2b00
ret