Function at 0x44b2a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48cdb6
mov eax, dword fs:[0]
push eax
sub esp, 0x718
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp + 0x710], eax
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x728]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
cmp ecx, edi
mov ebx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x18], eax
je 0x44b90c
mov eax, ebx
lea edx, [eax + 2]
jmp 0x44b300
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44b300
sub eax, edx
sar eax, 1
push 0x208
mov esi, eax
lea eax, [esp + 0x310]
push edi
push eax
call fcn.0046ea20
add esp, 0xc
cmp ebx, edi
je 0x44b40c
cmp esi, 1
mov cx, word [ebx + 2]
mov word [esp + 0x16], di
mov word [esp + 0x14], cx
je 0x44b383
mov ecx, 0x4999cc
lea eax, [esp + 0x14]
jmp 0x44b350
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44b376
cmp dx, di
je 0x44b372
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44b376
add eax, 4
add ecx, 4
cmp dx, di
jne 0x44b350
xor eax, eax
jmp 0x44b37b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x44b40c
lea edx, [esp + 0xfc]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x30c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44b3a0
sub eax, edx
sar eax, 1
mov ecx, 0x103
sub ecx, eax
push ecx
lea edx, [esp + 0x100]
push edx
lea eax, [esp + 0x314]
push eax
call fcn.0046de9d
lea eax, [esp + 0x318]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44b3e0
sub eax, edx
sar eax, 1
mov ecx, 0x103
sub ecx, eax
push ecx
lea edx, [esp + 0x310]
push 0x492c00
push edx
call fcn.0046de9d
add esp, 0xc
lea eax, [esp + 0x30c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44b416
sub eax, edx
sar eax, 1
mov ecx, 0x103
sub ecx, eax
push ecx
lea edx, [esp + 0x310]
push ebx
push edx
call fcn.0046de9d
mov ebx, dword [esp + 0x60]
mov eax, ebx
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44b447
sub eax, edx
sar eax, 1
push 0x208
mov esi, eax
lea eax, [esp + 0x518]
push edi
push eax
call fcn.0046ea20
mov cx, word [ebx + 2]
add esp, 0xc
cmp esi, 1
mov word [esp + 0x16], di
mov word [esp + 0x14], cx
je 0x44b4c3
mov ecx, 0x4999cc
lea eax, [esp + 0x14]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44b4b6
cmp dx, di
je 0x44b4b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44b4b6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x44b490
xor eax, eax
jmp 0x44b4bb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x44b54c
lea edx, [esp + 0xfc]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x514]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44b4e0
sub eax, edx
sar eax, 1
mov ecx, 0x103
sub ecx, eax
push ecx
lea edx, [esp + 0x100]
push edx
lea eax, [esp + 0x51c]
push eax
call fcn.0046de9d
lea eax, [esp + 0x520]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44b520
sub eax, edx
sar eax, 1
mov ecx, 0x103
sub ecx, eax
push ecx
lea edx, [esp + 0x518]
push 0x492c00
push edx
call fcn.0046de9d
add esp, 0xc
lea eax, [esp + 0x514]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44b556
sub eax, edx
sar eax, 1
mov ecx, 0x103
sub ecx, eax
push ecx
lea edx, [esp + 0x518]
push ebx
push edx
call fcn.0046de9d
add esp, 0xc
lea eax, [esp + 0x58]
push eax
call fcn.004473c0
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x310]
mov dword [esp + 0x734], edi
call fcn.004474b0
lea edx, [esp + 0x64]
push edx
call fcn.00448d60
lea ecx, [esp + 0x514]
lea esi, [esp + 0x64]
mov byte [esp + 0x730], 1
call fcn.004490e0
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
mov dword [esp + 0x94], vtable.CSSEnum.0
mov dword [esp + 0xa4], edi
call edx
add eax, 0x10
push 0x48
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xb8]
push edi
push eax
mov dword [esp + 0xac], edi
mov dword [esp + 0xb4], edi
call fcn.0046ea20
add esp, 0xc
mov ecx, esi
mov byte [esp + 0x730], 2
push 0x4992cc
xor ebx, ebx
lea eax, [esp + 0xb0]
mov dword [esp + 0xa0], ecx
call fcn.00415d80
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ebx
mov byte [esp + 0x730], 3
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
mov dword [esp + 0x2c], vtable.CSSFiles.0
call eax
mov edx, dword [0x4bb38c]
add eax, 0x10
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea esi, [esp + 0x94]
mov byte [esp + 0x730], 4
call fcn.0044ae00
cmp eax, 0x80004005
je 0x44b864
cmp dword [esp + 0xa8], ebx
jne 0x44b6d2
cmp dword [esp + 0xa4], ebx
je 0x44b6d2
xor eax, eax
cmp dword [esp + 0xb8], 1
sete al
cmp eax, ebx
jne 0x44b84d
push 0x208
lea ecx, [esp + 0x102]
push ebx
push ecx
mov word [esp + 0x108], bx
call fcn.0046ea20
add esp, 0xc
lea edx, [esp + 0x14]
mov esi, 0x105
push edx
lea ebx, [esp + 0x100]
lea ecx, [esp + 0x98]
mov dword [esp + 0x18], esi
call fcn.0044b030
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
lea edx, [esp + 0x68]
call fcn.00449220
xor ebx, ebx
test eax, eax
jne 0x44b84d
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x24]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebx
call eax
test eax, eax
jl 0x44b842
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x34]
call edx
cmp eax, ebx
jne 0x44b842
push 0x20a
lea eax, [esp + 0x100]
push ebx
push eax
call fcn.0046ea20
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x100]
push edx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x1c], esi
call fcn.0044aed0
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
mov dword [esp + 0x40], vtable.CWindowsFile.0
call edx
add eax, 0x10
mov dword [esp + 0x4c], eax
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x44]
lea edi, [esp + 0x100]
mov byte [esp + 0x734], 5
call fcn.00447530
cmp eax, ebx
jne 0x44b831
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], 1
call fcn.00447d70
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esp + 0x48]
cmp eax, 0xffffffff
je 0x44b820
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x4c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00416b00
lea ecx, [esp + 0x40]
mov byte [esp + 0x730], 4
call fcn.004477f0
lea ecx, [esp + 0x2c]
call fcn.00448230
xor ebx, ebx
lea esi, [esp + 0x94]
call fcn.0044ae00
cmp eax, 0x80004005
jne 0x44b6ab
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x44b875
push eax
call fcn.00469050
add esp, 4
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x734], 3
call fcn.00447f50
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x44b8a4
push eax
call fcn.00469050
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x730], 1
call fcn.0044ad10
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x734], bl
call fcn.00448e50
mov dword [esp + 0x730], 0xffffffff
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov dword [esp + 0x58], vtable.CWindowsFileSystem.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44b908
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x728]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x710]
xor ecx, esp
call fcn.00469efd
mov esp, ebp
pop ebp
ret