Function at 0x418a20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28c
mov eax, dword [0x4ef418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x418fe0
mov esi, eax
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418fd9
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x298], esi
xor esi, esi
lea edi, [ebp - 0x218]
push 0x208
push esi
push edi
call fcn.00463600
add esp, 0xc
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, 0x4f515a
push ebx
push eax
push 0x4d8548
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
sub esp, 0x1c
mov dword [esp + 0x18], esi
movaps xmm0, xmmword [0x4d81d0]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x418fd3
mov dword [ebp - 0x290], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], 0
xor esi, esi
dec esi
lea edi, [ebp - 0x23c]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ebx, 0x4f3b02
push ebx
call fcn.0047e4dc
add esp, 4
push eax
push ebx
push edi
call fcn.0044c130
add esp, 0xc
lea edi, [ebp - 0x248]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ebx, 0x4f3f12
push ebx
call fcn.0047e4dc
add esp, 4
push eax
push ebx
push edi
call fcn.0044c130
add esp, 0xc
lea edi, [ebp - 0x254]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ebx, 0x4f411a
push ebx
call fcn.0047e4dc
add esp, 4
push eax
push ebx
push edi
call fcn.0044c130
add esp, 0xc
lea edi, [ebp - 0x260]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ebx, 0x4f4732
push ebx
call fcn.0047e4dc
add esp, 4
push eax
push ebx
push edi
call fcn.0044c130
add esp, 0xc
lea edi, [ebp - 0x26c]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ebx, 0x4f3d0a
push ebx
call fcn.0047e4dc
add esp, 4
push eax
push ebx
push edi
call fcn.0044c130
add esp, 0xc
lea edi, [ebp - 0x278]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ebx, 0x4f4b42
push ebx
call fcn.0047e4dc
add esp, 4
push eax
push ebx
push edi
call fcn.0044c130
add esp, 0xc
lea ebx, [ebp - 0x284]
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov esi, 0x4f4d4a
push esi
call fcn.0047e4dc
add esp, 4
push eax
push esi
push ebx
call fcn.0044c130
add esp, 0xc
mov eax, dword [0x4f5d9c]
mov ecx, dword [0x4f269c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x419251
cmp byte [0x4f5d9b], 0
jns 0x418c45
mov ebx, 0x7f
cmp dword [0x4f5d94], 0x7f
ja 0x418c77
mov eax, dword [0x4f5d9c]
mov ecx, dword [0x4f269c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4192d3
movzx ebx, byte [0x4f5d9b]
test bl, bl
jns 0x418c77
mov ebx, dword [0x4f5d94]
mov eax, dword [0x4f5d9c]
mov ecx, dword [0x4f269c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x419292
mov eax, 0x4f5d90
cmp byte [0x4f5d9b], 0
jns 0x418cab
mov eax, dword [0x4f5d90]
test ebx, ebx
je 0x418ccf
cmp ebx, 0x7f
ja 0x4191e4
test eax, eax
je 0x4191e4
push ebx
push eax
push 0x4f5e4c
call fcn.00463080
add esp, 0xc
mov byte [0x4f5ecb], 0
mov eax, dword [ebp - 0x244]
cmp eax, 0x7f
mov esi, 0x7f
cmovae eax, esi
movzx ecx, byte [ebp - 0x23d]
test cl, cl
cmovns eax, ecx
lea ecx, [ebp - 0x248]
cmovs ecx, dword [ebp - 0x248]
test eax, eax
je 0x418d1b
test ecx, ecx
je 0x419194
push eax
push ecx
push 0x4f5ecc
call fcn.00463080
add esp, 0xc
mov byte [0x4f5f4b], 0
mov eax, dword [ebp - 0x250]
cmp eax, 0x7f
cmovb esi, eax
movzx eax, byte [ebp - 0x249]
test al, al
cmovns esi, eax
lea eax, [ebp - 0x254]
cmovs eax, dword [ebp - 0x254]
test esi, esi
je 0x418d62
test eax, eax
je 0x419144
push esi
push eax
push 0x4f5f4c
call fcn.00463080
add esp, 0xc
mov byte [0x4f5fcb], 0
mov eax, dword [ebp - 0x25c]
cmp eax, 0x7f
mov esi, 0x7f
cmovae eax, esi
movzx ecx, byte [ebp - 0x255]
test cl, cl
cmovns eax, ecx
lea ecx, [ebp - 0x260]
cmovs ecx, dword [ebp - 0x260]
test eax, eax
je 0x418dae
test ecx, ecx
je 0x4190f4
push eax
push ecx
push 0x4f5fcc
call fcn.00463080
add esp, 0xc
mov byte [0x4f604b], 0
mov eax, dword [ebp - 0x268]
cmp eax, 0x7f
cmovb esi, eax
movzx eax, byte [ebp - 0x261]
test al, al
cmovns esi, eax
lea eax, [ebp - 0x26c]
cmovs eax, dword [ebp - 0x26c]
test esi, esi
je 0x418df5
test eax, eax
je 0x4190a4
push esi
push eax
push 0x4f604c
call fcn.00463080
add esp, 0xc
mov byte [0x4f60cb], 0
mov bl, byte [ebp - 0x26d]
mov esi, dword [ebp - 0x274]
cmp esi, 0x7f
mov eax, 0x7f
cmovb eax, esi
test bl, bl
movzx edi, bl
cmovns eax, edi
lea ecx, [ebp - 0x278]
cmovs ecx, dword [ebp - 0x278]
test eax, eax
je 0x418e43
test ecx, ecx
je 0x419045
push eax
push ecx
push 0x4f634c
call fcn.00463080
add esp, 0xc
mov byte [0x4f63cb], 0
test bl, bl
cmovs edi, esi
test edi, edi
je 0x418e60
xor eax, eax
inc eax
mov dword [0x4f63f0], eax
mov dword [0x4f63f4], eax
mov dword [0x4f63cc], 3
mov ecx, dword [ebp - 0x280]
cmp ecx, 0x7f
mov eax, 0x7f
cmovb eax, ecx
movzx ecx, byte [ebp - 0x279]
test cl, cl
cmovns eax, ecx
lea ecx, [ebp - 0x284]
cmovs ecx, dword [ebp - 0x284]
test eax, eax
je 0x418eaf
test ecx, ecx
je 0x418ff5
push eax
push ecx
push 0x4f5dcc
call fcn.00463080
add esp, 0xc
mov byte [0x4f5e4b], 0
lea eax, [ebp - 0x224]
mov dword [eax], 0x3600001
mov dword [eax + 4], 0x634
mov dword [eax + 8], 0x4f5dcc
lea ecx, [ebp - 0x28c]
mov dword [ecx], 1
mov dword [ecx + 4], eax
cmp byte [0x4f5dc4], 0
mov eax, 0x24
mov esi, 2
cmove esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov ecx, dword [ebp - 0x294]
call dword [0x4e925c]
lea eax, [ebp - 0x230]
push 0
lea edx, [ebp - 0x28c]
push edx
push eax
push esi
mov esi, dword [ebp - 0x290]
push esi
push ebx
push edi
call ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x279], 0
jns 0x418f49
push dword [ebp - 0x284]
call fcn.00459b3c
add esp, 4
cmp byte [ebp - 0x26d], 0
jns 0x418f60
push dword [ebp - 0x278]
call fcn.00459b3c
add esp, 4
cmp byte [ebp - 0x261], 0
jns 0x418f77
push dword [ebp - 0x26c]
call fcn.00459b3c
add esp, 4
cmp byte [ebp - 0x255], 0
jns 0x418f8e
push dword [ebp - 0x260]
call fcn.00459b3c
add esp, 4
cmp byte [ebp - 0x249], 0
jns 0x418fa5
push dword [ebp - 0x254]
call fcn.00459b3c
add esp, 4
cmp byte [ebp - 0x23d], 0
jns 0x418fbc
push dword [ebp - 0x248]
call fcn.00459b3c
add esp, 4
cmp byte [ebp - 0x231], 0
jns 0x418fd3
push dword [ebp - 0x23c]
call fcn.00459b3c
add esp, 4
mov esi, dword [ebp - 0x298]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bb2d
add esp, 0x28c
pop esi
pop edi
pop ebx
pop ebp
ret
xorps xmm0, xmm0
movups xmmword [0x4f5e3b], xmm0
movups xmmword [0x4f5e2c], xmm0
movups xmmword [0x4f5e1c], xmm0
movups xmmword [0x4f5e0c], xmm0
movups xmmword [0x4f5dfc], xmm0
movups xmmword [0x4f5dec], xmm0
movups xmmword [0x4f5ddc], xmm0
movups xmmword [0x4f5dcc], xmm0
call fcn.00474027
mov dword [eax], 0x16
call fcn.00475100
jmp 0x418eaf
xorps xmm0, xmm0
movups xmmword [0x4f63bb], xmm0
movups xmmword [0x4f63ac], xmm0
movups xmmword [0x4f639c], xmm0
movups xmmword [0x4f638c], xmm0
movups xmmword [0x4f637c], xmm0
movups xmmword [0x4f636c], xmm0
movups xmmword [0x4f635c], xmm0
movups xmmword [0x4f634c], xmm0
call fcn.00474027
mov dword [eax], 0x16
call fcn.00475100
mov bl, byte [ebp - 0x26d]
mov esi, dword [ebp - 0x274]
movzx edi, bl
jmp 0x418e43
xorps xmm0, xmm0
movups xmmword [0x4f60bb], xmm0
movups xmmword [0x4f60ac], xmm0
movups xmmword [0x4f609c], xmm0
movups xmmword [0x4f608c], xmm0
movups xmmword [0x4f607c], xmm0
movups xmmword [0x4f606c], xmm0
movups xmmword [0x4f605c], xmm0
movups xmmword [0x4f604c], xmm0
call fcn.00474027
mov dword [eax], 0x16
call fcn.00475100
jmp 0x418df5
xorps xmm0, xmm0
movups xmmword [0x4f603b], xmm0
movups xmmword [0x4f602c], xmm0
movups xmmword [0x4f601c], xmm0
movups xmmword [0x4f600c], xmm0
movups xmmword [0x4f5ffc], xmm0
movups xmmword [0x4f5fec], xmm0
movups xmmword [0x4f5fdc], xmm0
movups xmmword [0x4f5fcc], xmm0
call fcn.00474027
mov dword [eax], 0x16
call fcn.00475100
jmp 0x418dae
xorps xmm0, xmm0
movups xmmword [0x4f5fbb], xmm0
movups xmmword [0x4f5fac], xmm0
movups xmmword [0x4f5f9c], xmm0
movups xmmword [0x4f5f8c], xmm0
movups xmmword [0x4f5f7c], xmm0
movups xmmword [0x4f5f6c], xmm0
movups xmmword [0x4f5f5c], xmm0
movups xmmword [0x4f5f4c], xmm0
call fcn.00474027
mov dword [eax], 0x16
call fcn.00475100
jmp 0x418d62
xorps xmm0, xmm0
movups xmmword [0x4f5f3b], xmm0
movups xmmword [0x4f5f2c], xmm0
movups xmmword [0x4f5f1c], xmm0
movups xmmword [0x4f5f0c], xmm0
movups xmmword [0x4f5efc], xmm0
movups xmmword [0x4f5eec], xmm0
movups xmmword [0x4f5edc], xmm0
movups xmmword [0x4f5ecc], xmm0
call fcn.00474027
mov dword [eax], 0x16
call fcn.00475100
jmp 0x418d1b
xorps xmm0, xmm0
movups xmmword [0x4f5ebb], xmm0
movups xmmword [0x4f5eac], xmm0
movups xmmword [0x4f5e9c], xmm0
movups xmmword [0x4f5e8c], xmm0
movups xmmword [0x4f5e7c], xmm0
movups xmmword [0x4f5e6c], xmm0
movups xmmword [0x4f5e5c], xmm0
movups xmmword [0x4f5e4c], xmm0
test eax, eax
je 0x41923c
cmp ebx, 0x80
jb 0x418ccf
call fcn.00474027
mov dword [eax], 0x22
jmp 0x419247
call fcn.00474027
mov dword [eax], 0x16
call fcn.00475100
jmp 0x418ccf
push 0x4f5d9c
call fcn.00459bb7
add esp, 4
cmp dword [0x4f5d9c], 0xffffffff
jne 0x418c2e
xorps xmm0, xmm0
movsd qword [0x4f5d90], xmm0
mov dword [0x4f5d98], 0
push 0x4f5d9c
call fcn.00459c2d
add esp, 4
jmp 0x418c2e
push 0x4f5d9c
call fcn.00459bb7
add esp, 4
cmp dword [0x4f5d9c], 0xffffffff
jne 0x418c98
xorps xmm0, xmm0
movsd qword [0x4f5d90], xmm0
mov dword [0x4f5d98], 0
push 0x4f5d9c
call fcn.00459c2d
add esp, 4
jmp 0x418c98
push 0x4f5d9c
call fcn.00459bb7
add esp, 4
cmp dword [0x4f5d9c], 0xffffffff
jne 0x418c66
xorps xmm0, xmm0
movsd qword [0x4f5d90], xmm0
mov dword [0x4f5d98], 0
push 0x4f5d9c
call fcn.00459c2d
add esp, 4
jmp 0x418c66