Function at 0x444520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x29
push 0
push 0
dec ecx
jne 0x444528
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046dc
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x134]
xor eax, eax
push ebp
push 0x444832
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
call fcn.004339b4
lea eax, [ebp - 0x20]
push eax
push 0x11
push 0
call fcn.004339cc
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x50f148]
push eax
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.00439978
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004042c4
lea eax, [ebp - 0x10]
call fcn.0040422c
jmp 0x4447a8
mov edx, dword [ebp - 0xc]
mov eax, 0x44484c
call fcn.00404830
mov ebx, eax
test ebx, ebx
jle 0x444635
mov edx, dword [ebp - 0xc]
mov eax, 0x444858
call fcn.00404830
test eax, eax
jle 0x4445df
lea eax, [ebp - 0x10]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040474c
jmp 0x44461a
lea eax, [ebp - 0x138]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040474c
mov eax, dword [ebp - 0x138]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 0x10]
call fcn.0044485c
mov edx, dword [ebp - 0x13c]
lea eax, [ebp - 0x10]
pop ecx
call fcn.00404538
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004044ec
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 0xc]
call fcn.0040474c
jmp 0x44466f
cmp dword [ebp - 0x10], 0
jne 0x444648
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004042c4
jmp 0x444667
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x10]
call fcn.0044485c
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
call fcn.00404538
lea eax, [ebp - 0xc]
call fcn.0040422c
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
mov ebx, 0xa0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404638
jne 0x444695
mov eax, dword [ebp - 4]
call fcn.00441b54
test al, al
jne 0x444695
or ebx, 0x40
lea eax, [ebp - 0x28]
call fcn.00405e58
push eax
push ebx
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
jne 0x444751
jmp 0x444737
push edi
push 0x8000
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00439978
mov eax, dword [edi]
sub eax, 1
jb 0x4446ec
je 0x4446f9
dec eax
jne 0x444706
lea eax, [ebp - 0x24]
lea edx, [edi + 4]
mov ecx, 0x104
call fcn.0040449c
jmp 0x444706
lea edx, [ebp - 0x24]
mov eax, dword [edi + 4]
call fcn.004051ac
jmp 0x444706
lea eax, [ebp - 0x24]
mov edx, dword [esi]
add edx, dword [edi + 4]
call fcn.00404424
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0x24]
call fcn.004087bc
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0x10]
call fcn.004087bc
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404638
je 0x44475d
lea eax, [ebp - 0x2c]
push eax
push esi
push 1
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4446b7
jmp 0x44475d
lea eax, [ebp - 0x14]
call fcn.00405e58
xor ebx, ebx
jmp 0x4447d1
cmp dword [ebp - 0x2c], 0
jne 0x44476f
lea eax, [ebp - 0x14]
call fcn.00405e58
xor ebx, ebx
jmp 0x4447d1
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00405e70
mov eax, dword [ebp - 0x10]
call fcn.00409450
test al, al
jne 0x4447a8
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x50f148]
push eax
push 0
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.00439978
mov eax, dword [ebp - 0xc]
call fcn.004044ec
test eax, eax
jg 0x4445a3
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00405e70
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x4447cf
xor ebx, ebx
jmp 0x4447d1
mov ebx, dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444839
lea eax, [ebp - 0x148]
mov edx, 4
call fcn.00404250
lea eax, [ebp - 0x138]
call fcn.0040422c
lea eax, [ebp - 0x28]
call fcn.00405e58
lea eax, [ebp - 0x24]
call fcn.0040422c
lea eax, [ebp - 0x18]
mov edx, dword [0x433944]
mov ecx, 2
call fcn.00404d60
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404250
lea eax, [ebp - 4]
call fcn.0040422c
ret