Function at 0x42aa10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477e6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x49aec0]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
xor ebx, ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x54]
push 0x8200
push eax
mov byte [ebp - 4], 4
call fcn.0042ba30
add esp, 8
mov cl, byte [ebp - 0x11]
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x3c], cl
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dl, byte [ebp - 0x11]
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x4c], dl
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov eax, dword [esi + 0x1c]
mov byte [ebp - 4], 7
test byte [eax + 0x18], 0x80
jne 0x42ab02
lea ecx, [ebp - 0x18]
push 0x200
push ecx
call fcn.0042ba30
add esp, 8
mov eax, dword [eax]
push ebx
push 4
push eax
mov byte [ebp - 4], 8
call fcn.0046d262
cmp eax, 7
lea ecx, [ebp - 0x18]
sete byte [ebp - 0x11]
mov byte [ebp - 4], 7
call fcn.00465892
cmp byte [ebp - 0x11], bl
je 0x42ab02
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
cmp esi, edi
mov byte [ebp - 4], 6
je 0x42aaea
push ebx
mov ecx, esi
call fcn.0042b8a0
add esi, 4
cmp esi, edi
jne 0x42aad8
mov esi, dword [ebp - 0x48]
push esi
call fcn.0046956a
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
push edx
jmp 0x42b269
mov eax, 0x49d94c
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
lea eax, [esi + 4]
mov dword [ebp - 0x7c], ebx
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x68], ebx
call fcn.00465607
lea ecx, [esi + 8]
mov byte [ebp - 4], 9
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00465607
lea edx, [esi + 0xc]
lea ecx, [ebp - 0xb0]
push edx
mov byte [ebp - 4], 0xa
call fcn.00465607
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
lea edx, [esi + 0x18]
mov dword [ebp - 0xa8], ecx
push edx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xac], eax
call fcn.00465607
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0x20]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xbc], vtable.rl::CError.0
mov edx, dword [ecx]
mov dword [ebp - 0x9c], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x98], eax
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x94], ecx
push 0x49dd08
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xc
call fcn.00465952
push 0x49dd08
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.00465952
lea edx, [ebp - 0x8c]
push ebx
lea eax, [ebp - 0x84]
push edx
push eax
push 4
push 1
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xe
call fcn.0042eba0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x11
call fcn.00465892
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x10
call fcn.00465892
mov byte [ebp - 4], 0x12
call fcn.0042d060
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0x10
push ecx
mov byte [ebp - 4], 0x14
call fcn.0042bab0
add esp, 4
push 0x499f18
lea edx, [ebp - 0x18]
push eax
push edx
mov byte [ebp - 4], 0x15
call fcn.00465b27
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
push ecx
push eax
call fcn.0042bb90
add esp, 8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x15
call fcn.00465892
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x14
call fcn.00465892
mov ecx, dword [ebp - 0x48]
cmp ecx, ebx
je 0x42acd7
mov eax, dword [ebp - 0x44]
mov edx, eax
sub edx, ecx
test edx, 0xfffffffc
je 0x42acd7
xor edi, edi
cmp ecx, ebx
je 0x42acd7
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x42acd7
push ebx
lea ecx, [ecx + edi*4]
call fcn.00465cc2
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
push ebx
lea ecx, [eax + edi*4]
call fcn.00465cc2
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x7c]
push ecx
push 1
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x6c], eax
call fcn.0042b580
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
inc edi
jmp 0x42ac89
lea eax, [ebp - 0xb8]
lea ecx, [esi + 4]
push eax
mov dword [ebp - 4], 0x10
call fcn.004659cb
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [esi + 8]
call fcn.004659cb
lea edx, [ebp - 0xb0]
lea ecx, [esi + 0xc]
push edx
call fcn.004659cb
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa4]
mov dword [esi + 0x14], ecx
push edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], eax
call fcn.004659cb
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x98]
mov dword [ecx], edx
mov edx, dword [ebp - 0x94]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov eax, dword [0x49e1cc]
add eax, 8
lea ecx, [ebp - 0x20]
push eax
call fcn.004659cb
push 0x49dd08
lea ecx, [ebp - 0x18]
call fcn.00465952
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
call fcn.00441a0b
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
setne byte [ebp - 0x11]
call fcn.00465892
cmp byte [ebp - 0x11], bl
je 0x42add0
mov edx, dword [ebp - 0x20]
mov edi, dword [sym.imp.kernel32.dll_GetFileAttributesA]
push edx
call edi
cmp eax, 0xffffffff
je 0x42add6
push ebx
lea ecx, [ebp - 0x20]
call fcn.00465cc2
push ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x70], eax
call fcn.00465cc2
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x7c]
push eax
push 1
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0042b580
jmp 0x42add6
mov edi, dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov eax, dword [0x49e1d4]
lea ecx, [ebp - 0x1c]
add eax, 8
push eax
call fcn.004659cb
push 0x49dd08
lea ecx, [ebp - 0x18]
call fcn.00465952
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push edx
push eax
call fcn.00441a0b
add esp, 8
test eax, eax
je 0x42ae60
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
call fcn.00441a0b
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
setne byte [ebp - 0x11]
call fcn.00465892
cmp byte [ebp - 0x11], bl
je 0x42ae60
mov eax, dword [ebp - 0x1c]
push eax
call edi
cmp eax, 0xffffffff
je 0x42ae60
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00465cc2
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x70], eax
call fcn.00465cc2
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x7c]
push ecx
push 1
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x6c], eax
call fcn.0042b580
mov eax, dword [0x49e1dc]
lea ecx, [ebp - 0x24]
add eax, 8
push eax
call fcn.004659cb
push 0x49dd08
lea ecx, [ebp - 0x18]
call fcn.00465952
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call fcn.00441a0b
add esp, 8
test eax, eax
je 0x42aefe
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
push edx
push eax
call fcn.00441a0b
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
setne byte [ebp - 0x11]
call fcn.00465892
cmp byte [ebp - 0x11], bl
je 0x42aefe
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
push ecx
push edx
call fcn.00441a0b
add esp, 8
test eax, eax
je 0x42aefe
mov eax, dword [ebp - 0x24]
push eax
call edi
cmp eax, 0xffffffff
je 0x42aefe
push ebx
lea ecx, [ebp - 0x24]
call fcn.00465cc2
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x70], eax
call fcn.00465cc2
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x7c]
push ecx
push 1
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x6c], eax
call fcn.0042b580
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x64], al
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov edx, dword [esi]
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x2c]
push eax
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x18
call dword [edx + 0x10]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x19
call fcn.004659cb
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
call fcn.00465892
xor edi, edi
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x42af90
mov edx, dword [ebp - 0x5c]
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x42af90
mov eax, dword [eax + edi*4]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42af8d
mov eax, dword [ebp - 0x60]
push ebx
lea ecx, [eax + edi*4]
call fcn.00465cc2
mov ecx, dword [ebp - 0x60]
push ebx
mov dword [ebp - 0x70], eax
lea ecx, [ecx + edi*4]
call fcn.00465cc2
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x34]
push edx
push 1
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042b580
inc edi
jmp 0x42af3b
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x2c]
add ecx, 0x10
push ecx
push 0x499f10
push edx
call fcn.00465b9b
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1a
call fcn.004659cb
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
call fcn.00465892
lea eax, [ebp - 0x90]
push 0x207
push eax
call fcn.0042ba30
lea ecx, [ebp - 0x80]
push 0x208
push ecx
mov byte [ebp - 4], 0x1b
call fcn.0042ba30
add esp, 0x10
mov edi, 1
push ebx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], edi
call fcn.00465cc2
push ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0xcc], eax
call fcn.00465cc2
push ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0x104], ebx
call fcn.00465cc2
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x100], eax
call fcn.00465cc2
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0xd4]
cmp ecx, ebx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xec], 4
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], edx
jne 0x42b08d
mov dword [ebp - 0xdc], ebx
jmp 0x42b0a9
mov edx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
sub edx, ecx
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xd8], ecx
mov ecx, dword [esi + 0x1c]
mov edi, 3
test byte [ecx + 0x18], 0x40
je 0x42b0c2
mov edi, 0xb
call fcn.00469575
cmp eax, ebx
je 0x42b0d4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x42b0d6
xor eax, eax
mov edx, dword [eax + 0x1c]
push ebx
lea ecx, [ebp - 0x104]
push edi
push ecx
push edx
push ebx
call dword [0x49e1a0]
cmp eax, ebx
je 0x42b140
cmp eax, 1
jne 0x42b11f
lea eax, [ebp - 0x2c]
push 0x201
push eax
call fcn.0042ba30
add esp, 8
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1d
call fcn.004659cb
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1c
call fcn.00465892
jmp 0x42b135
mov ecx, dword [ebp - 0x54]
push eax
push ecx
lea edx, [ebp - 0x28]
push 0x499ee8
push edx
call fcn.004638af
add esp, 0x10
mov eax, dword [ebp - 0x28]
push ebx
push ebx
push eax
call fcn.0046d262
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1b
call fcn.00465892
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x18
call fcn.00465892
mov eax, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
cmp esi, eax
mov byte [ebp - 4], 0x10
mov edi, eax
je 0x42b17c
mov ecx, esi
call fcn.00465892
add esi, 4
cmp esi, edi
jne 0x42b16b
mov esi, dword [ebp - 0x60]
push esi
call fcn.0046956a
add esp, 4
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 4], 0xc
call fcn.0042ecb0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 7
call fcn.00429e60
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
cmp esi, eax
mov byte [ebp - 4], 6
mov edi, eax
je 0x42b1cd
mov ecx, esi
call fcn.00465892
add esi, 4
cmp esi, edi
jne 0x42b1bc
mov esi, dword [ebp - 0x48]
push esi
call fcn.0046956a
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
add esp, 4
cmp ecx, edx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov byte [ebp - 4], 5
mov eax, ecx
je 0x42b1f6
add eax, 0x18
cmp eax, edx
jne 0x42b1ef
push ecx
call fcn.0046956a
add esp, 4
jmp 0x42b271
call fcn.0046956a
add esp, 8
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 4
call fcn.00465892
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00465892
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00465892
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00465892
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00465892
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00465892
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret