Function at 0x483ca0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x828
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x222]
mov esi, ecx
push ebx
push eax
mov dword [esi + 0x14], ebx
mov dword [esp + 0x1c], 1
mov word [esp + 0x228], bx
call fcn.004afb50
add esp, 0xc
xor eax, eax
jmp 0x483cf0
movzx ecx, word [eax + 0x58302c]
mov word [esp + eax + 0x21c], cx
add eax, 2
cmp cx, bx
jne 0x483cf0
lea eax, [esp + 0x21c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x483d11
mov ecx, dword [str.1.0.1.0528]
mov edx, dword [0x581c4c]
mov dword [eax], ecx
mov ecx, dword [0x581c50]
mov dword [eax + 4], edx
mov edx, dword [0x581c54]
mov dword [eax + 8], ecx
mov ecx, dword [0x581c58]
mov dword [eax + 0xc], edx
mov dx, word [0x581c5c]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
lea eax, [esp + 0x21c]
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x483d60
mov ecx, dword [str.0416]
mov edx, dword [0x583024]
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [eax], ecx
mov cx, word [0x583028]
mov dword [eax + 4], edx
lea edx, [esp + 0x21c]
push edx
push 1
push 0xf001f
mov word [eax + 8], cx
call edi
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x483fb6
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea eax, [esp + 0x21c]
push eax
push 0x98
push ebx
push 4
push ebx
push 0xffffffffffffffff
mov dword [esp + 0x28], ebx
call ebp
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x483fb6
push 0x206
lea ecx, [esp + 0x42a]
push ebx
push ecx
mov word [esp + 0x430], bx
call fcn.004afb50
push 0x206
lea edx, [esp + 0x63e]
push ebx
push edx
mov word [esp + 0x644], bx
call fcn.004afb50
push 0x206
lea eax, [esp + 0x32]
push ebx
push eax
mov word [esp + 0x38], bx
call fcn.004afb50
add esp, 0x24
lea ecx, [esp + 0x424]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.0416
push str.1.0.1.0528
push str.PeopleCalendar
lea edx, [esp + 0x430]
push edx
lea eax, [esp + 0x63c]
push str._s_s_s_s
push eax
call fcn.00405340
add esp, 0x18
xor eax, eax
jmp 0x483e70
movzx ecx, word [eax + 0x58302c]
mov word [esp + eax + 0x14], cx
add eax, 2
cmp cx, bx
jne 0x483e70
lea eax, [esp + 0x14]
add eax, 0xfffffffe
jmp 0x483e90
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x483e90
mov ecx, dword [0x582ffc]
mov edx, dword [0x583000]
mov dword [eax], ecx
mov ecx, dword [0x583004]
mov dword [eax + 4], edx
mov dx, word [0x583008]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x14]
add eax, 0xfffffffe
jmp 0x483ed0
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x483ed0
mov ecx, dword [str.1.0.1.0528]
mov edx, dword [0x581c4c]
mov dword [eax], ecx
mov ecx, dword [0x581c50]
mov dword [eax + 4], edx
mov edx, dword [0x581c54]
mov dword [eax + 8], ecx
mov ecx, dword [0x581c58]
mov dword [eax + 0xc], edx
mov dx, word [0x581c5c]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
lea eax, [esp + 0x14]
add eax, 0xfffffffe
lea ebx, [ebx]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x483f20
mov ecx, dword [str.0416]
mov edx, dword [0x583024]
mov dword [eax], ecx
mov cx, word [0x583028]
mov dword [eax + 4], edx
lea edx, [esp + 0x14]
push edx
push 1
push 0xf001f
mov word [eax + 8], cx
mov dword [esi + 0x14], 1
call edi
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x483fb6
lea eax, [esp + 0x14]
push eax
push 1
push 6
call edi
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x483fb6
push ebx
push 0x80
push 4
push ebx
push 3
push 0x10000000
lea ecx, [esp + 0x644]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x483ff7
lea edx, [esp + 0x14]
push edx
push 0x98
push ebx
push 4
push ebx
push edi
call ebp
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x483ff7
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x483fea
cmp dword [esp + 0x10], ebx
mov dword [esi + 0x28], eax
jne 0x483fe3
mov ecx, eax
call fcn.00483b00
mov eax, 1
jmp 0x483ff9
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], ebx
xor eax, eax
mov ecx, dword [esp + 0x834]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004aeca3
add esp, 0x828
ret