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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da812
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x50d080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a4], ecx
mov ax, word [ebx + 8]
movups xmm0, xmmword [str.:lockxls.data]
mov word [ebp - 0x220], ax
mov eax, dword [0x4fade8]
mov dword [ebp - 0x206], eax
movzx eax, word [0x4fadec]
mov word [ebp - 0x202], ax
lea eax, [ebp - 0x220]
movups xmmword [ebp - 0x21e], xmm0
push eax
movq xmm0, qword [0x4fade0]
mov byte [ebp - 0x271], 0
movq qword [ebp - 0x20e], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x420d56
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
sub esp, 8
mov dword [ebp - 4], 0
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x220]
call fcn.00423e40
add esp, 8
test al, al
je 0x420d20
lea ecx, [ebp - 0x23c]
call fcn.00433530
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00433890
mov edx, dword [ebp - 0x224]
cmp edx, 0x10
jb 0x42089b
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420891
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d7c
push edx
push ecx
call fcn.0047ce0f
add esp, 8
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x290]
call fcn.00431b30
lea ecx, [ebp - 0x270]
call fcn.00433530
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x298]
sub ecx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x28c]
add ecx, 4
sub eax, dword [ebp - 0x290]
push ecx
sub eax, ecx
lea ecx, [ebp - 0x270]
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00433680
mov eax, dword [ebp - 0x27c]
mov esi, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x280]
sub eax, ecx
mov edi, dword [ebp - 0x29c]
sub esi, edi
cmp eax, esi
jne 0x420c37
mov edx, edi
sub esi, 4
jb 0x420971
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x420976
add ecx, 4
add edx, 4
sub esi, 4
jae 0x420960
cmp esi, 0xfffffffc
je 0x4209b3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x420c31
cmp esi, 0xfffffffd
je 0x4209b3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x420c31
cmp esi, 0xfffffffe
je 0x4209b3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x420c31
cmp esi, 0xffffffff
je 0x4209b3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x420c31
mov esi, dword [ebp - 0x284]
xor edx, edx
mov eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x290]
sub eax, ecx
lea edi, [esi + 4]
cmp edi, eax
mov edi, dword [ebp - 0x29c]
ja 0x4209e2
mov edx, dword [ecx + esi]
lea eax, [esi + 4]
mov dword [ebp - 0x284], eax
cmp edx, 1
sete byte [ebp - 0x2a0]
je 0x4209f7
cmp edx, 2
jne 0x420c31
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
push dword [ebp - 0x2a0]
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x290]
call fcn.0042fb00
mov eax, dword [ebx + 0xc]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x420a3d
mov ecx, dword [eax]
cmp dword [ebp - 0x240], 8
lea esi, [ebp - 0x254]
mov edi, dword [ebp - 0x254]
mov edx, dword [ebp - 0x244]
cmovae esi, edi
cmp edx, dword [eax + 0x10]
jne 0x420bf1
test edx, edx
je 0x420a85
sub esi, ecx
nop dword [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x420bf1
add ecx, 2
sub edx, 1
jne 0x420a70
mov edx, dword [ebp - 0x284]
xor edi, edi
mov eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x290]
sub eax, ecx
lea esi, [edx + 4]
cmp esi, eax
ja 0x420aab
mov edi, dword [ecx + edx]
mov dword [ebp - 0x284], esi
xor esi, esi
test edi, edi
jle 0x420bb3
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
push dword [ebp - 0x2a0]
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x290]
call fcn.0042fb00
cmp dword [ebp - 0x228], 0
je 0x420b6f
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x238]
push eax
call fcn.00421780
push eax
lea ecx, [ebp - 0x290]
call fcn.00431b30
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x420b64
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420b5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d7c
push edx
push ecx
call fcn.0047ce0f
add esp, 8
inc esi
cmp esi, edi
jl 0x420ac0
jmp 0x420bb3
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x420bb3
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420ba9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d81
push edx
push ecx
call fcn.0047ce0f
add esp, 8
cmp esi, edi
jne 0x420bc0
mov byte [ebp - 0x271], 1
jmp 0x420beb
mov edi, dword [ebp - 0x2a4]
mov ecx, edi
mov byte [ebp - 4], 6
mov esi, dword [edi]
push dword [esi + 4]
call fcn.00421a90
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov edi, dword [ebp - 0x254]
mov eax, dword [ebp - 0x240]
cmp eax, 8
jb 0x420c2b
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x420c21
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d86
push ecx
push edi
call fcn.0047ce0f
add esp, 8
mov edi, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x280]
mov edx, dword [ebp - 0x258]
cmp edx, 0x10
jb 0x420c7d
mov ecx, dword [ebp - 0x26c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420c67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d8b
push edx
push ecx
call fcn.0047ce0f
mov edi, dword [ebp - 0x29c]
add esp, 8
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], 0
test ecx, ecx
je 0x420cf0
mov edx, dword [ebp - 0x278]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x420cc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d90
push edx
push ecx
call fcn.0047ce0f
mov edi, dword [ebp - 0x29c]
add esp, 8
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0
test edi, edi
je 0x420d20
mov ecx, dword [ebp - 0x294]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x420d16
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d95
push ecx
push edi
call fcn.0047ce0f
add esp, 8
mov ecx, dword [ebp - 0x290]
test ecx, ecx
je 0x420d56
mov edx, dword [ebp - 0x288]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x420d4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d9a
push edx
push ecx
call fcn.0047ce0f
add esp, 8
mov al, byte [ebp - 0x271]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047ce22
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.004895af
call fcn.004895af
call fcn.004895af
call fcn.004895af
call fcn.004895af
call fcn.004895af
call fcn.004895af
int3