Function at 0x44ed90
Capabilities:
Accept command line arguments
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 0x4b6070
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x688
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x44f417
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x44f417
push ecx
push ecx
lea ecx, [ebp - 0x64]
call fcn.00450330
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x74]
call fcn.00450280
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
jle 0x44eecb
mov esi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x64]
sub eax, esi
mov dword [ebp - 0x20], eax
mov eax, edi
sub eax, esi
mov dword [ebp - 0x18], eax
nop dword [eax]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [eax + esi]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
mov dword [ebp - 0x24], eax
call fcn.00471377
mov edi, eax
add esp, 4
test edi, edi
je 0x44ee6c
push dword [ebp - 0x24]
push 0
push edi
call fcn.00489230
add esp, 0xc
jmp 0x44ee6e
xor edi, edi
lea eax, [ebp - 0x68]
cmp esi, eax
je 0x44ee80
mov eax, dword [esi]
mov dword [esi], edi
test eax, eax
je 0x44ee8d
push eax
jmp 0x44ee85
test edi, edi
je 0x44ee8d
push edi
call fcn.00471372
add esp, 4
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi]
push 0
push 0
push dword [ebp - 0x24]
mov dword [ecx + esi], eax
push eax
mov eax, dword [ebp - 0x18]
push 0xffffffffffffffff
push dword [eax + esi]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x28]
add esi, 4
inc eax
cmp eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
jl 0x44ee30
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0xbc]
push 2
push eax
call fcn.0046ffa6
lea eax, [ebp - 0xbc]
push eax
call fcn.0046ffc7
add esp, 0xc
test eax, eax
je 0x44eef5
push eax
call fcn.0046fbbe
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
push eax
call fcn.0046ffec
add esp, 4
test eax, eax
je 0x44ef1f
push eax
call fcn.0046fbbe
add esp, 4
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.0046ff7c
mov ecx, dword [ebp - 0x64]
add esp, 4
mov eax, dword [ebp - 0x14]
mov esi, ecx
xor edi, edi
lea eax, [ecx + eax*4]
xor ecx, ecx
mov edx, eax
sub edx, esi
add edx, 3
shr edx, 2
cmp esi, eax
cmova edx, ecx
mov dword [ebp - 0x20], edx
test edx, edx
je 0x44efa9
nop word [eax + eax]
mov eax, dword [esi]
mov dword [ebp - 0x1c], ecx
mov ecx, str.__fixpermissions
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44ef90
test dl, dl
je 0x44ef8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44ef90
add eax, 2
add ecx, 2
test dl, dl
jne 0x44ef70
xor eax, eax
jmp 0x44ef95
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x1c]
test eax, eax
lea ecx, [edx + 1]
cmovne ecx, edx
inc edi
add esi, 4
cmp edi, dword [ebp - 0x20]
jne 0x44ef60
test ecx, ecx
jle 0x44f3f6
push 0x208
lea eax, [ebp - 0x490]
push 0
push eax
call fcn.00489230
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x490]
add esp, 0xc
push eax
push 0
push 0
push 0x1c
push 0
call edi
test eax, eax
jns 0x44f008
push 0
push 0x4c87fe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0043d0c0
jmp 0x44f102
xor eax, eax
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44f030
sub ecx, edx
lea eax, [ebp - 0x490]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.0043cf80
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x58]
call fcn.0044dd10
lea ecx, [ebp - 0x8c]
call fcn.0043cf20
push str.Battle.netLogs
lea ecx, [ebp - 0x58]
call fcn.0043b200
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
lea ecx, [ebp - 0x18]
cmovae esi, dword [ebp - 0x58]
call fcn.0043f620
lea edx, [ebp - 0x180]
mov dword [ebp - 0x180], 0x3c
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x17c], esi
mov byte [ebp - 0xf4], 1
mov byte [ebp - 0xe2], 0
call fcn.004304e0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x44f0ca
call fcn.0040cef0
push str._battle.net.log
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0043b200
movups xmm0, xmmword [ebp - 0x58]
mov byte [ebp - 0x58], 0
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
cmp dword [ebp - 0x30], 0
je 0x44f190
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xa4]
call fcn.00462520
push 0xc0
call fcn.00471313
push ecx
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.00462340
mov ecx, dword [0x4e7438]
mov dword [0x4e7438], eax
test ecx, ecx
je 0x44f156
mov dword [ebp - 4], 2
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x44f190
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44f186
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f42e
push edx
push ecx
call fcn.00471305
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x44f1c4
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44f1ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f433
push edx
push ecx
call fcn.00471305
add esp, 8
sub esp, 8
lea ecx, [ebp - 0x170]
call fcn.004509f0
mov edx, str.Logging_started_for_Battle.net__as_Permissions_Fixer__build
lea ecx, [ebp - 0x170]
call fcn.004539e0
mov edx, 0x4d101c
mov ecx, eax
call fcn.004539e0
sub esp, 8
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x170]
push eax
call fcn.00450940
mov edx, eax
mov ecx, 2
call fcn.00461410
mov edx, dword [ebp - 0x90]
add esp, 8
cmp edx, 0x10
jb 0x44f24c
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44f242
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f438
push edx
push ecx
call fcn.00471305
add esp, 8
lea ecx, [ebp - 0x170]
call fcn.0044f450
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0
push eax
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 0xd8], 1
call fcn.0043b2e0
cmp dword [ebp - 0x30], 0
jne 0x44f35c
lea eax, [ebp - 0x698]
push eax
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
js 0x44f2bb
sub esp, 0xc
lea eax, [ebp - 0x698]
mov edx, 0x104
lea ecx, [ebp - 0x288]
push eax
call fcn.00436ab0
add esp, 0x10
lea ecx, [ebp - 0x288]
mov esi, 0x4d1714
mov eax, ecx
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x44f2de
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x185]
cmp eax, edx
jb 0x44f2c8
mov byte [eax], 0
cmp byte [ebp - 0x288], 0
je 0x44f300
push 0
mov edx, 0x104
lea ecx, [ebp - 0x288]
call fcn.00436370
add esp, 4
nop
mov al, byte [esi]
cmp al, 0x2f
je 0x44f30a
cmp al, 0x5c
jne 0x44f30d
inc esi
jmp 0x44f300
push 0x104
mov edx, esi
lea ecx, [ebp - 0x288]
call fcn.00436940
add esp, 4
lea edx, [ebp - 0x288]
mov ecx, edx
push 0x104
call fcn.004361a0
lea ecx, [ebp - 0x288]
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44f340
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
lea ecx, [ebp - 0xd4]
call fcn.0043d0c0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x44f390
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44f386
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f43d
push edx
push ecx
call fcn.00471305
add esp, 8
lea ecx, [ebp - 0xd8]
call fcn.0045e370
mov ecx, dword [0x4e7438]
mov dword [0x4e7438], 0
test ecx, ecx
je 0x44f3bc
mov dword [ebp - 4], 4
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0xc0]
cmp edx, 0x10
jb 0x44f3f2
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44f3e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f442
push edx
push ecx
call fcn.00471305
add esp, 8
xor esi, esi
jmp 0x44f403
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x14]
call fcn.0044f930
mov esi, eax
lea ecx, [ebp - 0x74]
call fcn.004517f0
lea ecx, [ebp - 0x64]
call fcn.00438ea0
mov eax, esi
jmp 0x44f419
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0049880d
call fcn.0049880d
call fcn.0049880d
call fcn.0049880d
call fcn.0049880d
int3