Function at 0x4083d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x432018]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
push esi
movaps xmmword [esp + 0x4c], xmm0
xor esi, esi
movaps xmmword [esp + 0x8c], xmm0
push edi
mov word [esp + 0x50], cx
xor edi, edi
mov word [esp + 0x90], cx
mov dword [esp + 0x40], ecx
mov ecx, 7
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 7
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], 7
mov dword [esp + 0x44], ecx
mov word [esp + 0x30], si
cmp eax, 3
jl 0x408c84
push str.__process_id
push edx
mov edx, eax
lea ecx, [esp + 0x80]
call fcn.004080d0
mov esi, eax
add esp, 8
lea eax, [esp + 0x50]
cmp eax, esi
je 0x4084ef
mov ecx, dword [esp + 0x64]
cmp ecx, 8
jb 0x4084bc
mov edx, dword [esp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4084b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d67
push ecx
push edx
call fcn.0040bf76
add esp, 8
mov dword [esp + 0x60], edi
xor eax, eax
mov dword [esp + 0x64], 7
mov word [esp + 0x50], ax
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x50], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x60], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [esp + 0x8c]
cmp ecx, 8
jb 0x40852e
mov edx, dword [esp + 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408524
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d67
push ecx
push edx
call fcn.0040bf76
add esp, 8
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x78]
push 0x42ed40
push dword [esp + 0xc]
mov edx, esi
call fcn.004080d0
lea ecx, [esp + 0x98]
add esp, 8
cmp ecx, eax
je 0x408583
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [esp + 0x90], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0xa0], xmm0
mov dword [eax + 0x10], edi
mov edi, dword [esp + 0xa0]
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [esp + 0x8c]
cmp ecx, 8
jb 0x4085c2
mov edx, dword [esp + 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4085b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d6c
push ecx
push edx
call fcn.0040bf76
add esp, 8
push str.__dump_file
push dword [esp + 0xc]
mov edx, esi
lea ecx, [esp + 0x80]
call fcn.004080d0
mov esi, eax
add esp, 8
lea eax, [esp + 0x30]
cmp eax, esi
je 0x408659
mov ecx, dword [esp + 0x44]
cmp ecx, 8
jb 0x408622
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408618
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d71
push ecx
push edx
call fcn.0040bf76
add esp, 8
mov dword [esp + 0x40], 0
xor eax, eax
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x30], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x40], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [esp + 0x8c]
cmp ecx, 8
jb 0x408698
mov edx, dword [esp + 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40868e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d71
push ecx
push edx
call fcn.0040bf76
add esp, 8
cmp dword [esp + 0x40], 0
je 0x408b99
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408b99
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x433df0]
cmp eax, dword [esi + 4]
jg 0x408d76
push 0x433dd4
push 0x42ec24
call dword [sym.imp.dbgeng.dll_DebugCreate]
test eax, eax
jne 0x408b99
mov ecx, dword [0x433dd4]
test ecx, ecx
je 0x408b99
mov eax, dword [ecx]
push 0x433dd8
push 0x42ebc4
push ecx
call dword [eax]
test eax, eax
jne 0x408b99
cmp dword [0x433dd8], eax
je 0x408b99
mov ecx, dword [0x433dd4]
push 0x433ddc
push 0x42ebd4
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x408b99
cmp dword [0x433ddc], eax
je 0x408b99
mov edx, dword [0x433dd4]
cmp dword [esp + 0x44], 8
push 0
push 0
mov eax, dword [edx]
mov ecx, dword [eax + 0xf0]
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push eax
push edx
call ecx
test eax, eax
jne 0x408b99
mov ecx, dword [0x433dd8]
push 0x7530
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x174]
test eax, eax
jne 0x408b99
xorps xmm0, xmm0
mov dword [esp + 0x100], eax
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xb0], xmm0
mov word [esp + 0xf0], ax
mov dword [esp + 0xe0], eax
mov word [esp + 0xd0], ax
mov dword [esp + 0xc0], eax
mov word [esp + 0xb0], ax
mov eax, dword [0x433df0]
mov dword [esp + 0x104], 7
mov dword [esp + 0xe4], 7
mov dword [esp + 0xc4], 7
cmp eax, dword [esi + 4]
jg 0x408e08
lea eax, [esp + 0xb0]
mov ecx, 0x433dd0
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.00401ea0
test al, al
je 0x408a93
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x7c]
call fcn.00409c00
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x7c]
call fcn.00409f70
mov ecx, eax
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 8], eax
movaps xmmword [esp + 0x10], xmm0
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
mov dword [esp + 0xc], eax
jb 0x408881
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
cmp eax, 0x7ffffffe
ja 0x408e9a
mov dword [esp + 0x24], 7
cmp eax, 8
jae 0x4088a7
mov dword [esp + 0x20], eax
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0x10], xmm0
jmp 0x4088f7
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4088bb
mov esi, 0x7ffffffe
jmp 0x4088c5
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x14]
call fcn.00405a70
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [esp + 0xc]
push eax
call fcn.0040cde0
add esp, 0xc
mov ecx, dword [esp + 0x128]
cmp ecx, 8
jb 0x408939
mov edx, dword [esp + 0x114]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40892f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e9f
push ecx
push edx
call fcn.0040bf76
add esp, 8
push 4
push str..ini
lea ecx, [esp + 0x18]
call fcn.00406ab0
cmp dword [esp + 0x20], 0
je 0x408a01
cmp dword [esp + 0x24], 8
lea ecx, [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [esp + 0xf0]
cmovae ecx, dword [esp + 0x10]
cmp dword [esp + 0x104], 8
push ecx
cmovae eax, dword [esp + 0xf4]
push eax
push str.first_module_name
push str.crashpad_info
call esi
cmp dword [esp + 0x20], 0
je 0x408a01
cmp dword [esp + 0x24], 8
lea ecx, [esp + 0x10]
lea eax, [esp + 0xd0]
cmovae ecx, dword [esp + 0x10]
cmp dword [esp + 0xe4], 8
push ecx
cmovae eax, dword [esp + 0xd4]
push eax
push str.first_module_path
push str.crashpad_info
call esi
cmp dword [esp + 0x20], 0
je 0x408a01
cmp dword [esp + 0x24], 8
lea ecx, [esp + 0x10]
lea eax, [esp + 0xb0]
cmovae ecx, dword [esp + 0x10]
cmp dword [esp + 0xc4], 8
push ecx
cmovae eax, dword [esp + 0xb4]
push eax
push str.call_stack_hash
push str.crashpad_info
call esi
mov ecx, dword [esp + 0x24]
cmp ecx, 8
jb 0x408a3d
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408a33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ea4
push ecx
push edx
call fcn.0040bf76
add esp, 8
mov ecx, dword [esp + 0x8c]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
cmp ecx, 8
jb 0x408a93
mov edx, dword [esp + 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408a89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ea4
push ecx
push edx
call fcn.0040bf76
add esp, 8
mov ecx, dword [esp + 0xc4]
cmp ecx, 8
jb 0x408ad5
mov edx, dword [esp + 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408acb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ea9
push ecx
push edx
call fcn.0040bf76
add esp, 8
mov ecx, dword [esp + 0xe4]
xor eax, eax
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 7
mov word [esp + 0xb0], ax
cmp ecx, 8
jb 0x408b37
mov edx, dword [esp + 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408b2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ea9
push ecx
push edx
call fcn.0040bf76
add esp, 8
mov ecx, dword [esp + 0x104]
xor eax, eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 7
mov word [esp + 0xd0], ax
cmp ecx, 8
jb 0x408b99
mov edx, dword [esp + 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408b8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ea9
push ecx
push edx
call fcn.0040bf76
add esp, 8
cmp dword [esp + 0x60], 0
je 0x408bc0
cmp dword [esp + 0x64], 8
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
push eax
call fcn.00414b35
add esp, 4
mov esi, eax
call fcn.00401c00
mov dword [eax], esi
cmp dword [esp + 0xa4], 8
lea esi, [esp + 0x90]
cmovae esi, dword [esp + 0x90]
cmp edi, 1
jne 0x408c08
mov edx, 0x42ed0c
test edi, edi
je 0x408c04
sub esi, edx
nop word [eax + eax]
movzx ecx, word [esi + edx]
movzx eax, word [edx]
cmp cx, ax
jne 0x408c08
add edx, 2
sub edi, 1
jne 0x408bf0
mov al, 1
jmp 0x408c0a
xor al, al
test al, al
je 0x408c80
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x118]
call fcn.00409c00
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x118]
call fcn.00409f70
push eax
lea ecx, [esp + 0x7c]
call fcn.00404bc0
lea ecx, [esp + 0xf0]
call fcn.004049d0
push 4
push 0x42ed10
lea ecx, [esp + 0x80]
call fcn.00406ab0
call fcn.00401c00
lea eax, [esp + 0x78]
push eax
call fcn.00401cb0
lea ecx, [esp + 0x78]
call fcn.004049d0
lea ecx, [esp + 0x114]
call fcn.004049d0
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x90]
cmp ecx, 8
jb 0x408cc3
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408cb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408eae
push ecx
push edx
call fcn.0040bf76
add esp, 8
xor eax, eax
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x44], 7
cmp eax, 8
jb 0x408d15
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x408d0b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408eae
push ecx
push esi
call fcn.0040bf76
add esp, 8
mov ecx, dword [esp + 0x64]
cmp ecx, 8
jb 0x408d51
mov edx, dword [esp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408d47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408eae
push ecx
push edx
call fcn.0040bf76
add esp, 8
mov ecx, dword [esp + 0x12c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0040ba30
mov esp, ebp
pop ebp
ret
call fcn.004140fb
call fcn.004140fb
call fcn.004140fb
push 0x433df0
call fcn.0040ba94
add esp, 4
cmp dword [0x433df0], 0xffffffff
jne 0x4086d9
push 0x40
mov dword [0x433dd0], 0
mov dword [0x433dd4], 0
mov dword [0x433dd8], 0
mov dword [0x433ddc], 0
mov dword [0x433de0], 0
mov dword [0x433de4], 0
call fcn.0040bcf5
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x426220
mov dword [0x433de0], eax
call fcn.0040bf61
add esp, 4
push 0x433df0
call fcn.0040ba43
add esp, 4
jmp 0x4086d9
push 0x433df0
call fcn.0040ba94
add esp, 4
cmp dword [0x433df0], 0xffffffff
jne 0x40880f
push 0x40
mov dword [0x433dd0], 0
mov dword [0x433dd4], 0
mov dword [0x433dd8], 0
mov dword [0x433ddc], 0
mov dword [0x433de0], 0
mov dword [0x433de4], 0
call fcn.0040bcf5
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x426220
mov dword [0x433de0], eax
call fcn.0040bf61
add esp, 4
push 0x433df0
call fcn.0040ba43
add esp, 4
jmp 0x40880f
call fcn.00401160
call fcn.004140fb
call fcn.004140fb
call fcn.004140fb
call fcn.004140fb
int3