Function at 0x40c2c0
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 0x571b76
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2b8
mov eax, dword [0x5c1068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28c], edi
cmp dword [edi + 0x34], 0
jne 0x40c5f5
lea ecx, [ebp - 0x278]
call fcn.00402380
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.00402ca0
push eax
lea eax, [ebp - 0x278]
push 0x592410
push eax
call fcn.0045c4d0
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.00402380
mov byte [ebp - 4], 1
lea eax, [ebp - 0x248]
push 0x20c
push 0
push eax
call fcn.0054d380
add esp, 0xc
lea eax, [ebp - 0x248]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x40c3a8
xor eax, eax
mov word [ebp - 0x3e], ax
lea eax, [ebp - 0x248]
push eax
call fcn.00402710
add esp, 4
lea ecx, [ebp - 0x260]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004024a0
push str.TempCrash
lea ecx, [ebp - 0x2c4]
call fcn.00402330
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c4]
push eax
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x2ac]
call fcn.0045e9c0
add esp, 4
lea ecx, [ebp - 0x2ac]
call fcn.004022b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c4]
call fcn.004022b0
push edi
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x2ac]
call fcn.0045e9c0
add esp, 4
lea ecx, [ebp - 0x2ac]
call fcn.004022b0
lea ecx, [ebp - 0x260]
call fcn.0045e4e0
push 0x100
call fcn.00534f2f
mov esi, eax
add esp, 4
mov dword [ebp - 0x288], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x40c447
xor eax, eax
mov word [esi], ax
mov word [esi + 0x80], ax
jmp 0x40c449
xor esi, esi
mov byte [ebp - 4], 1
push str.fulldump
push 0x40
push esi
call fcn.0055168b
add esp, 0xc
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
push 0xa
push 0x10
push eax
push dword [edi + 0x18]
movups xmmword [ebp - 0x24], xmm0
call fcn.00551656
lea eax, [ebp - 0x34]
push eax
lea eax, [esi + 0x80]
push 0x40
push eax
call fcn.0055168b
add esp, 0x1c
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x290], 1
push 0xc8
call fcn.005349db
mov esi, eax
add esp, 4
mov dword [ebp - 0x284], esi
mov byte [ebp - 4], 4
push 0xc8
push 0
push esi
call fcn.0054d380
add esp, 0xc
lea ecx, [edi + 0x1c]
call fcn.00402ca0
lea ecx, [ebp - 0x278]
mov edi, eax
call fcn.00402ca0
lea ecx, [esi + 0x10]
mov dword [ebp - 0x288], eax
mov dword [esi + 0xc], 0
call fcn.00402380
lea ecx, [esi + 0x28]
call fcn.00402380
lea ecx, [esi + 0x40]
call fcn.00402380
push 0x18
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
call fcn.005349db
add esp, 4
mov esi, eax
push esi
push 4
call fcn.00402100
lea ecx, [esi + 4]
push ecx
push 4
mov dword [eax], esi
call fcn.00402100
add esp, 0x10
lea ecx, [ebp - 0x294]
mov dword [eax], esi
mov eax, dword [ebp - 0x284]
push edi
push ecx
sub esp, 8
lea ecx, [ebp - 0x260]
mov dword [eax + 0xc0], esi
push dword [ebp - 0x288]
sub esp, 0x14
push ecx
mov ecx, eax
call fcn.004861be
mov byte [ebp - 4], 1
push dword [ebp - 0x28c]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
push dword [ebp - 0x284]
lea ecx, [ebp - 0x280]
call fcn.0040c6c0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x280]
mov eax, dword [edx + 0x34]
mov dword [edx + 0x34], ecx
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x27c], eax
mov dword [edx + 0x38], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.00402610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.004022b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.004022b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005349ca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret