Function at 0x42bb60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x602844
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
xor ebx, ebx
lea edi, [esp + 0x20]
mov dword [esp + 0x30], ebx
call fcn.0047ac70
mov dword [esp + 0x2e8], ebx
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jle 0x42bbdd
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x42bc19
cmp ecx, eax
jg 0x42bc19
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x42bbdd
push 0x5c
call fcn.0040af90
push 0xc
push str.inuseime.txt
lea eax, [esp + 0x28]
push eax
call fcn.0040aee0
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x20]
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x42bc23
call fcn.0040f010
jmp 0x42bc29
push 0x80070057
call fcn.00403650
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
cmp eax, ebx
mov byte [esp + 0x2e8], 2
jl 0x42c1b7
mov eax, dword [esp + 0x2c]
push ebx
push 4
push 2
lea esi, [esp + 0x68]
call fcn.0050dcc0
cmp eax, ebx
jl 0x42c1b7
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
lea edi, [esp + 0x44]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edx
call fcn.0050e160
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
mov dword [esp + 0x30], 1
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x2e8], 3
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x2e8], 4
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2e8], 5
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
mov eax, edi
mov byte [esp + 0x2ec], 6
call fcn.0050e200
test eax, eax
je 0x42c117
jmp 0x42bd30
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], ebx
jle 0x42c0ff
push 9
push edi
call fcn.005d33c4
add esp, 8
cmp eax, ebx
je 0x42c0ff
sub eax, edi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
je 0x42c0ff
lea ecx, [esp + 0x14]
push ecx
xor ecx, ecx
lea edx, [esp + 0x44]
call fcn.00409f60
mov byte [esp + 0x2e8], 7
mov ecx, dword [eax]
mov ebx, dword [esp + 0x24]
lea eax, [ecx - 0x10]
add ebx, 0xfffffff0
cmp eax, ebx
je 0x42bdd7
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x42bdc6
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x42bdc6
call fcn.0040a210
mov dword [esp + 0x3c], eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x42bdb9
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x3c]
add ecx, 0x10
mov dword [esp + 0x24], ecx
jmp 0x42bdd3
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x28]
call fcn.004037a0
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x2e8], 6
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42bdff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 1
mov eax, dword [edi - 0xc]
js 0x42c0ff
cmp esi, eax
jge 0x42c0ff
lea ecx, [edi + esi*2]
push 9
push ecx
call fcn.005d33c4
add esp, 8
test eax, eax
je 0x42c0ff
sub eax, edi
sar eax, 1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42c0ff
lea edx, [esp + 0x14]
push edx
sub eax, esi
mov ecx, esi
lea edx, [esp + 0x3c]
call fcn.00409f60
lea edi, [esp + 0x28]
mov byte [esp + 0x2e8], 8
call fcn.0040ab90
mov byte [esp + 0x2e8], 6
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42be83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebx + 1]
lea esi, [esp + 0x34]
lea edx, [esp + 0x14]
call fcn.00409f40
lea edi, [esp + 0x18]
mov byte [esp + 0x2e8], 9
call fcn.0040ab90
mov byte [esp + 0x2e8], 6
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42becc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
lea eax, [esi - 0x10]
call fcn.0040a210
add eax, 0x10
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x1c]
mov byte [esp + 0x2e8], 0xa
call fcn.00431780
mov ebx, dword [esp + 0x1c]
cmp dword [ebx - 0xc], 0
jl 0x42bf4d
push str..ime
push ebx
call fcn.005d2e73
add esp, 8
test eax, eax
je 0x42bf4d
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x42bf4d
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42bf4d
add ebx, 0xfffffff0
mov byte [esp + 0x2e8], 6
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c0ff
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x42c0ff
mov edi, dword [0x67ba4c]
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x1c]
mov esi, 0x67ba48
call fcn.00431c30
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x42bf75
cmp eax, 0x67ba48
je 0x42bf7a
call fcn.005d29f1
cmp dword [esi + 4], edi
jne 0x42c0c6
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
mov edx, dword [0x677600]
add eax, 0x10
mov dword [esp + 0xc0], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0xc4], eax
mov byte [esp + 0x2e8], 0xb
lea eax, [esp + 0x28]
lea edi, [esp + 0xc0]
mov dword [esp + 0xd0], 0
call fcn.0040ab90
mov ecx, dword [esp + 0x24]
xor esi, esi
push ecx
mov dword [esp + 0x88], esi
call fcn.005d3c34
lea edx, [esp + 0xc8]
add esp, 4
push edx
lea ecx, [esp + 0xcc]
mov dword [esp + 0xcc], eax
call fcn.0042a8e0
add esp, 4
test eax, eax
jne 0x42c093
push 0x1fc
lea eax, [esp + 0xda]
push esi
push eax
mov word [esp + 0xe0], si
call fcn.005da970
mov edx, dword [esp + 0xd4]
add esp, 0xc
push 0xff
lea ecx, [esp + 0xd8]
push ecx
push edx
call sub.IMM32.dll_ImmGetDescriptionW
lea edx, [esp + 0xd4]
lea edi, [esp + 0xc4]
call fcn.00403760
mov eax, dword [esp + 0xc4]
cmp dword [eax - 0xc], esi
jne 0x42c093
lea esi, [esp + 0x84]
call fcn.0042af20
lea eax, [ebx - 0x10]
mov byte [esp + 0x2e8], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42c0f3
lea ecx, [esp + 0x84]
push ecx
push ecx
push 0x67ba48
lea ecx, [esp + 0x24]
call fcn.004317e0
add esp, 4
mov ebx, eax
call fcn.00429850
lea esi, [esp + 0x84]
call fcn.0042af20
mov ebx, dword [esp + 0x1c]
jmp 0x42c0db
push 0x67ba48
lea ecx, [esp + 0x1c]
call fcn.004317e0
mov dword [eax + 0x4c], 1
lea eax, [ebx - 0x10]
mov byte [esp + 0x2e8], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c0ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x48]
call fcn.0050e200
xor ebx, ebx
test eax, eax
jne 0x42bd30
mov byte [esp + 0x2e8], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c13f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2e8], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c167
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2e8], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c18f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2e8], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c1b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x5c]
call fcn.0050df50
or edi, 0xffffffff
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.0050df50
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x42c1e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x2e8], edi
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42c207
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.005d28b3
mov esp, ebp
pop ebp
ret