Function at 0x418a10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28c
mov eax, dword [0x4e6418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x418fd0
mov esi, eax
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418fc9
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.00460af0
add esp, 0xc
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, 0x4ec10a
push ebx
push eax
push 0x4d252a
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
sub esp, 0x1c
mov dword [esp + 0x18], esi
movaps xmm0, xmmword [0x4d21b0]
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 0x418fc3
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, 0x4eaab2
push ebx
call fcn.0047b6dc
add esp, 4
push eax
push ebx
push edi
call fcn.00446bb0
add esp, 0xc
lea edi, [ebp - 0x248]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ebx, 0x4eaec2
push ebx
call fcn.0047b6dc
add esp, 4
push eax
push ebx
push edi
call fcn.00446bb0
add esp, 0xc
lea edi, [ebp - 0x254]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ebx, 0x4eb0ca
push ebx
call fcn.0047b6dc
add esp, 4
push eax
push ebx
push edi
call fcn.00446bb0
add esp, 0xc
lea edi, [ebp - 0x260]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ebx, 0x4eb6e2
push ebx
call fcn.0047b6dc
add esp, 4
push eax
push ebx
push edi
call fcn.00446bb0
add esp, 0xc
lea edi, [ebp - 0x26c]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ebx, 0x4eacba
push ebx
call fcn.0047b6dc
add esp, 4
push eax
push ebx
push edi
call fcn.00446bb0
add esp, 0xc
lea edi, [ebp - 0x278]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ebx, 0x4ebaf2
push ebx
call fcn.0047b6dc
add esp, 4
push eax
push ebx
push edi
call fcn.00446bb0
add esp, 0xc
lea ebx, [ebp - 0x284]
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov esi, 0x4ebcfa
push esi
call fcn.0047b6dc
add esp, 4
push eax
push esi
push ebx
call fcn.00446bb0
add esp, 0xc
mov eax, dword [0x4ecd4c]
mov ecx, dword [0x4e965c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x419241
cmp byte [0x4ecd4b], 0
jns 0x418c35
mov ebx, 0x7f
cmp dword [0x4ecd44], 0x7f
ja 0x418c67
mov eax, dword [0x4ecd4c]
mov ecx, dword [0x4e965c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4192c3
movzx ebx, byte [0x4ecd4b]
test bl, bl
jns 0x418c67
mov ebx, dword [0x4ecd44]
mov eax, dword [0x4ecd4c]
mov ecx, dword [0x4e965c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x419282
mov eax, 0x4ecd40
cmp byte [0x4ecd4b], 0
jns 0x418c9b
mov eax, dword [0x4ecd40]
test ebx, ebx
je 0x418cbf
cmp ebx, 0x7f
ja 0x4191d4
test eax, eax
je 0x4191d4
push ebx
push eax
push 0x4ecdfc
call fcn.00460570
add esp, 0xc
mov byte [0x4ece7b], 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 0x418d0b
test ecx, ecx
je 0x419184
push eax
push ecx
push 0x4ece7c
call fcn.00460570
add esp, 0xc
mov byte [0x4ecefb], 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 0x418d52
test eax, eax
je 0x419134
push esi
push eax
push 0x4ecefc
call fcn.00460570
add esp, 0xc
mov byte [0x4ecf7b], 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 0x418d9e
test ecx, ecx
je 0x4190e4
push eax
push ecx
push 0x4ecf7c
call fcn.00460570
add esp, 0xc
mov byte [0x4ecffb], 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 0x418de5
test eax, eax
je 0x419094
push esi
push eax
push 0x4ecffc
call fcn.00460570
add esp, 0xc
mov byte [0x4ed07b], 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 0x418e33
test ecx, ecx
je 0x419035
push eax
push ecx
push 0x4ed2fc
call fcn.00460570
add esp, 0xc
mov byte [0x4ed37b], 0
test bl, bl
cmovs edi, esi
test edi, edi
je 0x418e50
xor eax, eax
inc eax
mov dword [0x4ed3a0], eax
mov dword [0x4ed3a4], eax
mov dword [0x4ed37c], 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 0x418e9f
test ecx, ecx
je 0x418fe5
push eax
push ecx
push 0x4ecd7c
call fcn.00460570
add esp, 0xc
mov byte [0x4ecdfb], 0
lea eax, [ebp - 0x224]
mov dword [eax], 0x3600001
mov dword [eax + 4], 0x634
mov dword [eax + 8], 0x4ecd7c
lea ecx, [ebp - 0x28c]
mov dword [ecx], 1
mov dword [ecx + 4], eax
cmp byte [0x4ecd74], 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 [0x4e097c]
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 0x418f39
push dword [ebp - 0x284]
call fcn.0045702d
add esp, 4
cmp byte [ebp - 0x26d], 0
jns 0x418f50
push dword [ebp - 0x278]
call fcn.0045702d
add esp, 4
cmp byte [ebp - 0x261], 0
jns 0x418f67
push dword [ebp - 0x26c]
call fcn.0045702d
add esp, 4
cmp byte [ebp - 0x255], 0
jns 0x418f7e
push dword [ebp - 0x260]
call fcn.0045702d
add esp, 4
cmp byte [ebp - 0x249], 0
jns 0x418f95
push dword [ebp - 0x254]
call fcn.0045702d
add esp, 4
cmp byte [ebp - 0x23d], 0
jns 0x418fac
push dword [ebp - 0x248]
call fcn.0045702d
add esp, 4
cmp byte [ebp - 0x231], 0
jns 0x418fc3
push dword [ebp - 0x23c]
call fcn.0045702d
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.0045901d
add esp, 0x28c
pop esi
pop edi
pop ebx
pop ebp
ret
xorps xmm0, xmm0
movups xmmword [0x4ecdeb], xmm0
movups xmmword [0x4ecddc], xmm0
movups xmmword [0x4ecdcc], xmm0
movups xmmword [0x4ecdbc], xmm0
movups xmmword [0x4ecdac], xmm0
movups xmmword [0x4ecd9c], xmm0
movups xmmword [0x4ecd8c], xmm0
movups xmmword [0x4ecd7c], xmm0
call fcn.00471420
mov dword [eax], 0x16
call fcn.00472300
jmp 0x418e9f
xorps xmm0, xmm0
movups xmmword [0x4ed36b], xmm0
movups xmmword [0x4ed35c], xmm0
movups xmmword [0x4ed34c], xmm0
movups xmmword [0x4ed33c], xmm0
movups xmmword [0x4ed32c], xmm0
movups xmmword [0x4ed31c], xmm0
movups xmmword [0x4ed30c], xmm0
movups xmmword [0x4ed2fc], xmm0
call fcn.00471420
mov dword [eax], 0x16
call fcn.00472300
mov bl, byte [ebp - 0x26d]
mov esi, dword [ebp - 0x274]
movzx edi, bl
jmp 0x418e33
xorps xmm0, xmm0
movups xmmword [0x4ed06b], xmm0
movups xmmword [0x4ed05c], xmm0
movups xmmword [0x4ed04c], xmm0
movups xmmword [0x4ed03c], xmm0
movups xmmword [0x4ed02c], xmm0
movups xmmword [0x4ed01c], xmm0
movups xmmword [0x4ed00c], xmm0
movups xmmword [0x4ecffc], xmm0
call fcn.00471420
mov dword [eax], 0x16
call fcn.00472300
jmp 0x418de5
xorps xmm0, xmm0
movups xmmword [0x4ecfeb], xmm0
movups xmmword [0x4ecfdc], xmm0
movups xmmword [0x4ecfcc], xmm0
movups xmmword [0x4ecfbc], xmm0
movups xmmword [0x4ecfac], xmm0
movups xmmword [0x4ecf9c], xmm0
movups xmmword [0x4ecf8c], xmm0
movups xmmword [0x4ecf7c], xmm0
call fcn.00471420
mov dword [eax], 0x16
call fcn.00472300
jmp 0x418d9e
xorps xmm0, xmm0
movups xmmword [0x4ecf6b], xmm0
movups xmmword [0x4ecf5c], xmm0
movups xmmword [0x4ecf4c], xmm0
movups xmmword [0x4ecf3c], xmm0
movups xmmword [0x4ecf2c], xmm0
movups xmmword [0x4ecf1c], xmm0
movups xmmword [0x4ecf0c], xmm0
movups xmmword [0x4ecefc], xmm0
call fcn.00471420
mov dword [eax], 0x16
call fcn.00472300
jmp 0x418d52
xorps xmm0, xmm0
movups xmmword [0x4eceeb], xmm0
movups xmmword [0x4ecedc], xmm0
movups xmmword [0x4ececc], xmm0
movups xmmword [0x4ecebc], xmm0
movups xmmword [0x4eceac], xmm0
movups xmmword [0x4ece9c], xmm0
movups xmmword [0x4ece8c], xmm0
movups xmmword [0x4ece7c], xmm0
call fcn.00471420
mov dword [eax], 0x16
call fcn.00472300
jmp 0x418d0b
xorps xmm0, xmm0
movups xmmword [0x4ece6b], xmm0
movups xmmword [0x4ece5c], xmm0
movups xmmword [0x4ece4c], xmm0
movups xmmword [0x4ece3c], xmm0
movups xmmword [0x4ece2c], xmm0
movups xmmword [0x4ece1c], xmm0
movups xmmword [0x4ece0c], xmm0
movups xmmword [0x4ecdfc], xmm0
test eax, eax
je 0x41922c
cmp ebx, 0x80
jb 0x418cbf
call fcn.00471420
mov dword [eax], 0x22
jmp 0x419237
call fcn.00471420
mov dword [eax], 0x16
call fcn.00472300
jmp 0x418cbf
push 0x4ecd4c
call fcn.004570a7
add esp, 4
cmp dword [0x4ecd4c], 0xffffffff
jne 0x418c1e
xorps xmm0, xmm0
movsd qword [0x4ecd40], xmm0
mov dword [0x4ecd48], 0
push 0x4ecd4c
call fcn.0045711d
add esp, 4
jmp 0x418c1e
push 0x4ecd4c
call fcn.004570a7
add esp, 4
cmp dword [0x4ecd4c], 0xffffffff
jne 0x418c88
xorps xmm0, xmm0
movsd qword [0x4ecd40], xmm0
mov dword [0x4ecd48], 0
push 0x4ecd4c
call fcn.0045711d
add esp, 4
jmp 0x418c88
push 0x4ecd4c
call fcn.004570a7
add esp, 4
cmp dword [0x4ecd4c], 0xffffffff
jne 0x418c56
xorps xmm0, xmm0
movsd qword [0x4ecd40], xmm0
mov dword [0x4ecd48], 0
push 0x4ecd4c
call fcn.0045711d
add esp, 4
jmp 0x418c56