Function at 0x425600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4fb00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x224], eax
lea esi, [ebp - 0x218]
mov dword [eax], 0
mov eax, esi
mov edi, 0x104
sub ecx, eax
nop dword [eax + eax]
lea eax, [edi + 0x7ffffefa]
test eax, eax
je 0x42566e
movzx eax, word [ecx + esi]
test ax, ax
je 0x42566e
mov word [esi], ax
add esi, 2
sub edi, 1
jne 0x425650
test edi, edi
lea eax, [esi - 2]
push 0x4e4930
cmovne eax, esi
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x218]
call fcn.00420990
lea eax, [ebp - 0x218]
push eax
push 0
push 0x1f0003
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x4256f0
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
jne 0x4256d8
xor ebx, ebx
mov eax, dword [ebp - 0x224]
mov dword [eax], ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00437174
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc9
call fcn.00421ed0
add esp, 4
mov edi, eax
jmp 0x425842
mov edi, dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
xor ebx, ebx
push ebx
push esi
call edi
cmp eax, 0xffffffff
jne 0x42570b
mov edx, 0x95
jmp 0x4257d1
test eax, eax
je 0x425720
cmp eax, 0x102
je 0x425720
mov edx, 0x96
jmp 0x42580d
mov dword [ebp - 0x21c], ebx
test eax, eax
jne 0x425776
mov edi, dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSemaphore]
lea eax, [ebp - 0x21c]
push eax
push 1
push esi
call edi
test eax, eax
jne 0x42574a
mov edx, 0x9e
jmp 0x4257d1
inc dword [ebp - 0x21c]
push 0
push 1
push esi
call edi
test eax, eax
jne 0x42576c
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x12a
je 0x4257f0
mov edx, 0xa3
jmp 0x42580d
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], ebx
push eax
push 1
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSemaphore]
test eax, eax
jne 0x425797
mov edx, 0xad
jmp 0x4257d1
cmp dword [ebp - 0x220], ebx
je 0x4257a6
mov edx, 0xae
jmp 0x42580d
push 0
push 1
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSemaphore]
test eax, eax
jne 0x425808
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x12a
jne 0x425808
push 0
push esi
call edi
cmp eax, 0xffffffff
jne 0x4257e5
mov edx, 0xb4
push ecx
mov ecx, dword [ebp + 4]
call fcn.00421ed0
mov edi, eax
add esp, 4
test edi, edi
jns 0x4257f6
jmp 0x425823
test eax, eax
je 0x4257f0
mov edx, 0xb5
jmp 0x42580d
mov ebx, dword [ebp - 0x21c]
push esi
mov dword [ebp - 4], 8
call fcn.00421f50
jmp 0x4256b2
mov edx, 0xb1
push 0x8000ffff
push ecx
mov ecx, dword [ebp + 4]
call fcn.00421eb0
add esp, 8
mov edi, 0x8000ffff
push edi
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xcf
call fcn.00421eb0
add esp, 8
push esi
mov dword [ebp - 4], 2
call fcn.00421f50
xor ebx, ebx
test edi, edi
jns 0x4256b2
push edi
push ecx
mov ecx, dword [ebp + 4]
lea edx, [ebx + 0x62]
call fcn.00421eb0
add esp, 8
mov eax, edi
jmp 0x4256bc