Function at 0x1d032f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp ebx, 7
jbe 0x1d0338c
mov eax, dword [ebp + 0xc]
cmp dword [eax], ebx
jne 0x1d0338c
movzx edx, word [eax + 6]
xor esi, esi
test dx, dx
mov edi, eax
cmove edi, esi
test edi, edi
je 0x1d03342
movzx ecx, word [edi + 4]
cmp ecx, 0x10
jb 0x1d03389
cmp dword [edi], ecx
jb 0x1d03389
test cl, 7
jne 0x1d03389
lea esi, [ecx - 0x10]
sub ebx, ecx
add ecx, eax
jmp 0x1d03348
add ebx, 0xfffffff8
lea ecx, [eax + 8]
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x28], dx
lea ecx, [edi + 8]
lea edx, [eax + 4]
test edi, edi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
cmove ecx, edx
cmp esi, 0x103
ja 0x1d03389
mov eax, esi
shr eax, 2
movzx edx, word [ecx]
mov ecx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x44], eax
cmp eax, edx
jb 0x1d03389
cmp dword [ebp + 0x14], 1
jne 0x1d033a6
cmp word [ebp - 0x34], 0
je 0x1d033a6
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, byte [0x1f0e758]
cmp esi, 3
ja 0x1d0347c
lea eax, [ebx + 0x10]
cmp eax, 0xf8
ja 0x1d0347c
and cl, 1
je 0x1d0347c
xor eax, eax
cmp word [ebp - 0x28], 0
setne al
lea esi, [ebx + eax*8]
add esi, 8
cmp esi, 0xf8
ja 0x1d0347c
push 0x100
call fcn.01e5f33c
add esp, 4
mov dword [eax], fcn.01cd2ca0
xorps xmm0, xmm0
movups xmmword [eax + 0xc], xmm0
movups xmmword [eax + 0x1c], xmm0
movups xmmword [eax + 0x2c], xmm0
movups xmmword [eax + 0x3c], xmm0
movups xmmword [eax + 0x4c], xmm0
movups xmmword [eax + 0x5c], xmm0
movups xmmword [eax + 0x6c], xmm0
movups xmmword [eax + 0x7c], xmm0
movups xmmword [eax + 0x8c], xmm0
movups xmmword [eax + 0x9c], xmm0
movups xmmword [eax + 0xac], xmm0
movups xmmword [eax + 0xbc], xmm0
movups xmmword [eax + 0xcc], xmm0
movups xmmword [eax + 0xdc], xmm0
movups xmmword [eax + 0xec], xmm0
mov dword [eax + 0xfc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
movzx ecx, word [ebp - 0x28]
mov word [eax + 0xe], cx
test cx, cx
je 0x1d03475
lea ecx, [eax + 0xc]
mov word [ecx], 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1d0349e
push 0x24
call fcn.01e5f33c
add esp, 4
mov ecx, eax
movzx eax, word [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov edx, ebx
push eax
push dword [ebp - 0x44]
push ebx
call fcn.01d02fd0
add esp, 0xc
test ebx, ebx
je 0x1d034b7
mov ecx, dword [ebp - 0x2c]
call fcn.01d037a0
push ebx
push dword [ebp - 0x30]
push eax
call fcn.01e62e90
add esp, 0xc
test edi, edi
je 0x1d03537
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
cmp word [eax + 4], 0x10
je 0x1d03518
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
add eax, 0x10
mov dword [ebp - 0x28], eax
mov esi, dword [ebp + 0xc]
add esi, 0x10
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
movzx eax, word [eax + 4]
add eax, 0xfffffff0
push eax
push esi
push dword [ebp - 0x28]
call fcn.01e62e90
add esp, 0xc
mov eax, dword [ebp - 0x3c]
movzx esi, word [eax]
mov eax, dword [edi]
mov ebx, edi
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov word [eax + 8], si
jmp 0x1d03555
mov eax, dword [ebp - 0x38]
movzx esi, word [eax]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov word [eax + 4], si
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1d036af
lea eax, [eax*4]
lea esi, [eax + eax*4]
push esi
call fcn.01e5f33c
add esp, 4
mov edi, eax
mov dword [ebp - 0x28], esi
add eax, esi
mov dword [ebp - 0x48], eax
xor esi, esi
nop
mov ecx, edi
add ecx, esi
je 0x1d03751
call fcn.01d29ea0
add esi, 0x14
cmp dword [ebp - 0x28], esi
jne 0x1d03580
cmp word [ebp - 0x34], 0
je 0x1d03722
mov ebx, edi
xor edi, edi
mov dword [ebp - 0x40], ebx
jmp 0x1d035f2
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x44]
call fcn.01dc2baa
mov esp, dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
call fcn.01d29ed0
mov esp, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x34]
cmp edi, esi
jae 0x1d0376c
mov ecx, ebx
lea eax, [ebp - 0x24]
push eax
call fcn.01d29fc0
lea ecx, [ebp - 0x24]
call fcn.01d2a050
inc edi
add ebx, 0x14
cmp esi, edi
je 0x1d0371c
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x20]
mov esi, dword [eax + edi*4]
push esi
call fcn.01d2a330
add esp, 4
test al, al
jne 0x1d036b5
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x1d03643
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], esp
push eax
push eax
mov eax, esp
push ecx
push esi
push eax
call fcn.01d2a350
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.01d29ed0
mov esp, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x34]
cmp edi, esi
jae 0x1d0376c
mov ebx, dword [ebp - 0x30]
jmp 0x1d035d3
mov dword [ebp - 0x3c], esp
push eax
push eax
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov eax, esp
mov dword [eax], 0
test esi, esi
je 0x1d035b5
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
inc edx
cmp edx, 2
jb 0x1d03696
mov dword [ebp - 0x4c], eax
call fcn.01da4710
mov eax, dword [ebp - 0x38]
push dword [eax]
call fcn.01d83bd0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
add esp, 4
mov dword [ecx], 0
cmp esi, 0xffffffff
je 0x1d035ab
mov dword [ecx], esi
mov esi, eax
call fcn.01da4710
mov eax, esi
jmp 0x1d035ab
xor edi, edi
xor ecx, ecx
jmp 0x1d03725
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x1d036f7
neg dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
add ebx, 0xffffffec
test ebx, ebx
je 0x1d0378a
mov ecx, ebx
call fcn.01d2a050
add ebx, 0xffffffec
add dword [ebp - 0x28], 0x14
jne 0x1d036d4
push dword [ebp - 0x40]
call fcn.01e5f36c
add esp, 4
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x1d03392
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 1
call edi
mov edi, dword [ebp + 8]
jmp 0x1d03392
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov esi, esp
sub esp, 0xc
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov esp, esi
mov edi, dword [ebp + 8]
mov dword [edi], ebx
jmp 0x1d03392
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x28
push str....._third_partylibc_srcinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s_n
call fcn.01ce782c
push str.vector___index_out_of_bounds
push str.__n___size__
push 0x601
push str....._third_partylibc_srcinclude_vector
push str._s:_d:_assertion__s_failed:__s_n
call fcn.01ce782c
push str.null_pointer_given_to_destroy_at
push str.__loc___nullptr
push 0x44
jmp 0x1d0375d