Function at 0x41baf0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x1c0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1d0]
push edi
mov edi, dword [esp + 0x1d8]
push edi
push esi
call fcn.0041bf30
add esp, 8
cmp eax, 1
jne 0x41bb4f
push edi
push 0x451160
lea eax, [esp + 0x48]
push str._sPatch_s
push eax
call fcn.0043a6f0
mov ecx, dword [esp + 0x1ec]
add esp, 0x10
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.0043b110
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0
ret
lea eax, [esp + 0x108]
push eax
push esi
call fcn.0041bda0
add esp, 8
lea ecx, [esp + 0x108]
lea edx, [esp + 0x40]
push esi
push ecx
push str._s_s.dat
push edx
call fcn.0043a6f0
add esp, 0x10
lea eax, [esp + 0x40]
push 0x44b378
push eax
call fcn.0043b110
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x14], ebx
jne 0x41bbd3
push edi
lea ecx, [esp + 0x10c]
push esi
push ecx
lea edx, [esp + 0x4c]
push 0x44b39c
push edx
call fcn.0043a6f0
mov eax, dword [esp + 0x1f0]
add esp, 0x14
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.0043b110
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0
ret
push 0
push 0xa
push ebx
call fcn.0043b4d0
add esp, 0xc
lea edx, [esp + 0x18]
push ebx
push 0x27
push 1
push edx
call fcn.0043b570
mov eax, dword [esp + 0x2a]
add esp, 0x10
lea ecx, [eax + eax*4]
shl ecx, 3
sub ecx, eax
push ecx
call fcn.0043a900
mov edx, dword [esp + 0x1e]
add esp, 4
mov esi, eax
push ebx
push 0x27
push edx
push esi
mov dword [esp + 0x20], esi
call fcn.0043b570
mov eax, dword [esp + 0x2a]
add esp, 0x10
xor ebp, ebp
test eax, eax
jle 0x41bca3
lea ebx, [esi + 0xa]
jmp 0x41bc34
mov edi, dword [esp + 0x1d8]
push edi
call fcn.00444130
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x40]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41bc8a
test cl, cl
je 0x41bc86
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41bc8a
add eax, 2
add esi, 2
test cl, cl
jne 0x41bc66
xor eax, eax
jmp 0x41bc8f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41bcb9
mov eax, dword [esp + 0x1a]
inc ebp
add ebx, 0x27
cmp ebp, eax
jl 0x41bc2d
mov ebx, dword [esp + 0x14]
push ebx
call fcn.0043b040
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0
ret
mov ecx, dword [esp + 0x10]
lea eax, [ebp + ebp*4]
shl eax, 3
mov ebx, dword [esp + 0x14]
sub eax, ebp
push 0
mov edx, dword [eax + ecx + 0x23]
lea esi, [eax + ecx]
push edx
push ebx
call fcn.0043b4d0
mov eax, dword [esi + 2]
add esp, 0xc
push eax
call fcn.0043a900
mov ecx, dword [esi + 2]
add esp, 4
mov edi, eax
push ebx
push ecx
push 1
push edi
call fcn.0043b570
add esp, 0x10
push ebx
call fcn.0043b040
add esp, 4
lea edx, [esp + 0x16c]
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x16c]
lea ecx, [esp + 0xa4]
push eax
push str._sSchool.Tmp
push ecx
call fcn.0043a6f0
add esp, 0xc
lea edx, [esp + 0xa4]
push 0x44b388
push edx
call fcn.0043b110
add esp, 8
mov ebx, eax
mov eax, dword [esi + 2]
push ebx
push eax
push 1
push edi
call fcn.0043b6b0
add esp, 0x10
push ebx
call fcn.0043b040
add esp, 4
push edi
call fcn.0043a9b0
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call fcn.0043a9b0
mov edx, dword [esp + 0x1e0]
add esp, 4
lea eax, [esp + 0xa4]
push edx
push eax
call fcn.0043b110
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0
ret