Function at 0x423b50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f58b7
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x65b500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x665788]
test ecx, ecx
jne 0x423be1
push 0x65a0ac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x665788], 0
jne 0x423bd0
push 8
call fcn.004da3a2
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x423bba
mov ecx, eax
call fcn.0043a900
jmp 0x423bbc
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x665788], eax
push 0x65a0ac
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x665788]
lea eax, [ebp - 0x44]
push eax
call fcn.0043acc0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.00410280
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push 1
push eax
call fcn.00421f90
mov ecx, eax
call fcn.00435770
call fcn.00421de0
mov ecx, eax
call fcn.0040c580
test eax, eax
jne 0x423c53
lea eax, [ebp - 0x44]
push eax
call fcn.00421f90
mov ecx, eax
call fcn.00432cc0
push 1
call fcn.00421de0
mov ecx, eax
call fcn.0040c7c0
jmp 0x423f7c
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x34]
mov esi, dword [eax]
cmp esi, eax
je 0x423eb5
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
add edi, 4
mov dword [ebp - 0x20], edi
mov edi, dword [edi]
mov dword [ebp - 0x10], edi
cmp byte [edi + 0xd], 0
jne 0x423ea8
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x4241d2
mov eax, dword [edi + 0x10]
mov ecx, ebx
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423cb6
test dx, dx
je 0x423cb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423cb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x423c90
xor eax, eax
jmp 0x423cbb
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
je 0x423cca
mov edi, dword [edi + 8]
mov eax, dword [ebp - 0x18]
jmp 0x423cd1
mov eax, edi
mov edi, dword [edi]
mov dword [ebp - 0x18], eax
cmp byte [edi + 0xd], 0
je 0x423c81
mov edi, dword [ebp - 0x14]
cmp eax, edi
je 0x423ea3
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4241d2
nop dword [eax]
mov cx, word [ebx]
cmp cx, word [eax]
jne 0x423d16
test cx, cx
je 0x423d12
mov cx, word [ebx + 2]
cmp cx, word [eax + 2]
jne 0x423d16
add ebx, 4
add eax, 4
test cx, cx
jne 0x423cf0
xor eax, eax
jmp 0x423d1b
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
jne 0x423ea3
mov eax, dword [ebp - 0x10]
mov ebx, edi
cmp byte [eax + 0xd], 0
jne 0x423deb
mov edx, dword [esi + 0xc]
test edx, edx
je 0x4241d2
mov ecx, dword [eax + 0x10]
mov eax, ecx
mov di, word [eax]
cmp di, word [edx]
jne 0x423d6b
test di, di
je 0x423d67
mov di, word [eax + 2]
cmp di, word [edx + 2]
jne 0x423d6b
add eax, 4
add edx, 4
test di, di
jne 0x423d45
xor eax, eax
jmp 0x423d70
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
je 0x423d7f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
jmp 0x423ddb
cmp byte [ebx + 0xd], 0
je 0x423dd3
test ecx, ecx
je 0x4241d2
mov eax, dword [esi + 0xc]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423dc1
test dx, dx
je 0x423db2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423dc1
add eax, 4
add ecx, 4
test dx, dx
jne 0x423d90
xor eax, eax
shr eax, 0x1f
test al, al
mov eax, dword [ebp - 0x10]
cmovne ebx, eax
jmp 0x423dd6
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
mov eax, dword [ebp - 0x10]
cmovne ebx, eax
jmp 0x423dd6
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
je 0x423d38
cmp byte [ebx + 0xd], 0
mov eax, dword [ebp - 0x20]
cmove eax, ebx
mov edi, dword [eax]
cmp byte [edi + 0xd], 0
jne 0x423e51
nop dword [eax]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4241d2
mov ecx, dword [esi + 0xc]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x423e36
test dx, dx
je 0x423e32
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x423e36
add ecx, 4
add eax, 4
test dx, dx
jne 0x423e10
xor eax, eax
jmp 0x423e3b
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
je 0x423e48
mov ebx, edi
mov edi, dword [edi]
jmp 0x423e4b
mov edi, dword [edi + 8]
cmp byte [edi + 0xd], 0
je 0x423e00
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x18], edi
cmp edi, ebx
je 0x423e6d
nop dword [eax + eax]
lea ecx, [ebp - 0x18]
call fcn.00409bd0
cmp dword [ebp - 0x18], ebx
jne 0x423e60
push ebx
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042dd50
mov eax, dword [esi + 4]
mov edi, dword [esi]
push esi
mov dword [eax], edi
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x44]
dec dword [ebp - 0x40]
call fcn.0042d680
mov eax, dword [ebp - 0x44]
mov esi, edi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x14], edi
jmp 0x423ead
mov eax, dword [ebp - 0x44]
jmp 0x423eab
mov edi, dword [ebp - 0x14]
mov esi, dword [esi]
cmp esi, eax
jne 0x423c66
cmp dword [ebp - 0x40], 0
je 0x423ece
lea eax, [ebp - 0x44]
push eax
call fcn.00421f90
mov ecx, eax
call fcn.00432cc0
mov edi, dword [ebp - 0x34]
cmp dword [ebp - 0x30], 0
je 0x423f7f
push 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.0042d3c0
mov ebx, eax
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp - 0x34]
mov byte [ebp - 4], 3
mov ecx, dword [esi]
mov dword [ebp - 0x18], ecx
cmp ecx, esi
je 0x423f64
cmp dword [ecx + 0x30], 0
lea edi, [ecx + 0x10]
je 0x423f20
push dword [edi + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423f50
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x2c]
push edi
push eax
push ebx
mov dword [ebp - 0x20], eax
call fcn.00419140
mov edx, dword [ebp - 0x28]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x4241c8
mov ecx, dword [ebp - 0x20]
inc edx
mov dword [ebp - 0x28], edx
mov dword [ebx + 4], eax
mov dword [ecx], eax
lea ecx, [ebp - 0x18]
call fcn.00409bd0
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x423f64
mov ebx, dword [ebp - 0x2c]
jmp 0x423f07
lea eax, [ebp - 0x2c]
push eax
call fcn.00421f90
mov ecx, eax
call fcn.004349f0
lea ecx, [ebp - 0x2c]
call fcn.0041b9b0
mov edi, dword [ebp - 0x34]
push dword [edi + 4]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00410300
mov eax, dword [ebp - 0x34]
push 0
mov byte [ebp - 4], 2
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x34]
mov dword [eax], edi
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], edi
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x30], 0
call fcn.00421f90
mov ecx, eax
call fcn.00435770
xor edi, edi
mov dword [ebp - 0x50], 0
xor ecx, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], ecx
mov esi, dword [ebp - 0x34]
mov byte [ebp - 4], 5
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x42401a
nop dword [eax]
add eax, 0x14
push eax
cmp ecx, edi
je 0x423ffa
mov ecx, edi
call fcn.0041acd0
mov edi, dword [ebp - 0x4c]
add edi, 0x20
mov dword [ebp - 0x4c], edi
jmp 0x424006
push edi
lea ecx, [ebp - 0x50]
call fcn.00419450
mov edi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x18]
call fcn.00409bd0
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x42401a
mov ecx, dword [ebp - 0x48]
jmp 0x423fe0
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x454]
push dword [eax + 0x450]
lea eax, [ebp - 0x50]
push eax
call fcn.00431520
add esp, 0xc
call fcn.00406890
mov ecx, eax
test ecx, ecx
je 0x4241d2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x20], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.0042d370
mov edi, eax
mov dword [ebp - 0x3c], edi
mov esi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x4c]
mov byte [ebp - 4], 8
cmp esi, ebx
je 0x42412b
or edi, 0xffffffff
nop dword [eax + eax]
call fcn.00406890
test eax, eax
je 0x4241d2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x603f94
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00413f80
test al, al
jne 0x4240de
push 0
push 0x603f94
lea ecx, [ebp - 0x14]
call fcn.00408d30
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
push dword [eax + 0x460]
push esi
call fcn.0041ce30
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42411d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x20
cmp esi, ebx
jne 0x4240a0
mov edi, dword [ebp - 0x3c]
push dword [edi + 4]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.0042d600
mov eax, dword [ebp - 0x3c]
push 0x30
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x3c]
mov dword [eax], edi
mov eax, dword [ebp - 0x3c]
mov dword [eax + 8], edi
push dword [ebp - 0x3c]
mov dword [ebp - 0x38], 0
call fcn.004da0c6
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.0040d1c0
mov edx, dword [ebp - 0x20]
or eax, 0xffffffff
mov byte [ebp - 4], 5
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424183
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x50]
call fcn.0041bb90
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xc
push dword [eax]
lea eax, [ebp - 0x28]
push eax
call fcn.0042dd50
push 0x34
push dword [ebp - 0x34]
call fcn.004da0c6
add esp, 8
lea ecx, [ebp - 0x44]
call fcn.0041b8e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0043f639
push 0x80004005
call fcn.004064e0
int3