Function at 0x44d120
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4965
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x2f0
push esi
push edi
push 0x208
lea eax, [ebp - 0x300]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x4c], edi
call fcn.00474ed0
add esp, 0xc
lea eax, [ebp - 0x300]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
jns 0x44d1b2
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
jmp 0x44d3ff
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d1d0
sub ecx, edx
lea eax, [ebp - 0x300]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00453180
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x44d218
xorps xmm0, xmm0
mov dword [ebp - 0x1c], ecx
mov ecx, 0xf
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x2c], 0
jmp 0x44d2af
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmovae eax, dword [ebp - 0x48]
push 0
push 0
push 0
push 0
push ecx
push eax
push 0
push 0xfde9
call esi
mov edi, eax
push edi
call fcn.00472922
add esp, 4
mov dword [ebp - 0x14], eax
push edi
push 0
push eax
call fcn.00474ed0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x30], eax
push 0
push 0
push edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
push eax
push dword [ebp - 0x38]
cmovae ecx, dword [ebp - 0x48]
push ecx
push 0
push 0xfde9
call esi
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push esi
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.004422e0
push esi
call fcn.00472b7c
mov ecx, dword [ebp - 0x18]
add esp, 4
mov edi, dword [ebp - 0x4c]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x44d2f0
mov edx, dword [ebp - 0x48]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44d2e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d414
push ecx
push edx
call fcn.004728b5
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
push 0x10
push str.Battle.netLogs
cmp eax, 0x10
jb 0x44d338
cmp ecx, 0x10
lea esi, [ebp - 0x2c]
lea eax, [edx + 0x10]
cmovae esi, dword [ebp - 0x2c]
add esi, edx
mov dword [ebp - 0x1c], eax
push esi
call fcn.00474950
add esp, 0xc
mov byte [esi + 0x10], 0
jmp 0x44d345
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push 0x10
call fcn.00442820
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
lea ecx, [ebp - 0x14]
cmovae esi, dword [ebp - 0x2c]
call fcn.00441630
mov byte [ebp - 4], 4
lea edx, [ebp - 0xf8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xf8], 0x3c
mov dword [ebp - 0xf4], esi
mov byte [ebp - 0x6c], 1
mov byte [ebp - 0x5a], 0
call fcn.004327b0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x44d392
call fcn.0040d490
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 0xf
push str._battle.net.log
cmp eax, 0xf
jb 0x44d3cd
cmp edx, 0x10
lea esi, [ebp - 0x2c]
lea eax, [ecx + 0xf]
cmovae esi, dword [ebp - 0x2c]
add esi, ecx
mov dword [ebp - 0x1c], eax
push esi
call fcn.00474950
add esp, 0xc
mov byte [esi + 0xf], 0
jmp 0x44d3da
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push 0xf
call fcn.00442820
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0048610a
int3