Function at 0x435a00
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48a8f1
mov eax, dword fs:[0]
push eax
sub esp, 0x8f4
mov eax, dword [0x4ab13c]
xor eax, esp
mov dword [esp + 0x8f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ab13c]
xor eax, esp
push eax
lea eax, [esp + 0x908]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x24]
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], bl
call fcn.00410380
cmp byte [esi + 4], bl
mov dword [esp + 0x910], ebx
je 0x435ab8
cmp byte [esp + 0x18], bl
mov dword [esp + 0x910], 0xffffffff
je 0x435ab1
mov eax, dword [esp + 0x14]
add dword [eax], 0xffffffff
jne 0x435ab1
xor ecx, ecx
lea edx, [eax + 4]
xchg dword [edx], ecx
lea ecx, [eax + 8]
mov eax, SysReAllocString
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x435ab1
cmp eax, 0x80000000
jle 0x435ab1
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x435ab1
call fcn.0040bb70
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor al, al
jmp 0x435e2e
cmp dword [esi + 0x20], ebx
mov byte [esi + 4], 1
jne 0x435b09
push 4
call fcn.004518de
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x435ae5
lea eax, [esi + 0xc]
mov dword [edi], eax
mov eax, dword [eax + 8]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x435ae7
xor edi, edi
cmp edi, ebx
mov dword [esi + 0x20], edi
jne 0x435b09
lea ecx, [esp + 0x14]
mov dword [esp + 0x910], 0xffffffff
call fcn.00410330
xor al, al
jmp 0x435e2e
mov eax, dword [esi + 0x14]
push ebx
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 4
call fcn.004518de
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov byte [esp + 0x910], 1
je 0x435b45
push ebx
lea ecx, [esi + 0xc]
push ecx
mov edx, 0x425b50
push edx
mov ecx, eax
call fcn.00420d90
jmp 0x435b47
xor eax, eax
push eax
lea ecx, [esi + 0x18]
mov byte [esp + 0x914], bl
call fcn.00418280
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [esp + 0x90]
push ebx
push ecx
mov dword [esi + 8], eax
call fcn.00449ce0
push 0x493420
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x924], 2
call fcn.00412680
add esp, 0x14
mov edi, 8
cmp dword [esp + 0x70], edi
mov byte [esp + 0x910], 3
jb 0x435e56
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x435bc4
cmp word [eax], bx
je 0x435bc4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x435bc4
test al, 0x10
je 0x435c02
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.00449c30
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x91c], 4
call fcn.00402157
cmp dword [esp + 0x34], edi
mov byte [esp + 0x910], 3
jb 0x435c02
mov edx, dword [esp + 0x20]
push edx
call fcn.00451909
add esp, 4
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x435c10
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xb0]
call fcn.004484f0
lea eax, [esp + 0x8fc]
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0x914], 5
mov word [esp + 0x900], bx
mov dword [esp + 0x902], ebx
mov word [esp + 0x906], bx
call fcn.00448100
movzx ecx, word [esp + 0x900]
add ecx, 0x2ee0
push ebx
mov dword [esi + 0x150], ecx
mov ebp, 7
push 0x4991b8
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00402438
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x918], 6
call fcn.00449740
add esp, 8
cmp dword [esp + 0x34], edi
mov byte [esp + 0x910], 8
jb 0x435cba
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00451909
add esp, 4
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00448ca0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x91c], 9
call fcn.00402157
cmp dword [esp + 0x54], edi
mov byte [esp + 0x910], 8
jb 0x435d0c
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00451909
add esp, 4
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.00448ca0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x91c], 0xa
call fcn.00402157
cmp dword [esp + 0x54], edi
mov byte [esp + 0x910], 8
jb 0x435d4e
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00451909
add esp, 4
cmp dword [esp + 0x8c], edi
mov eax, dword [esp + 0x78]
jae 0x435d5f
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
push edx
push ebx
push eax
lea ecx, [esp + 0x64]
call fcn.00415c50
cmp eax, 0xffffffff
jne 0x435d7d
mov dword [esi + 0x178], ebx
mov ecx, dword [esi + 0x14]
mov eax, 0x435680
push esi
push eax
call fcn.0042d990
cmp dword [esp + 0x8c], edi
jb 0x435da2
mov eax, dword [esp + 0x78]
push eax
call fcn.00451909
add esp, 4
lea ecx, [esp + 0xac]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
mov byte [esp + 0x910], 3
call fcn.00448170
cmp dword [esp + 0x70], edi
jb 0x435ddc
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00451909
add esp, 4
cmp dword [esp + 0xa8], edi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jb 0x435e02
mov edx, dword [esp + 0x94]
push edx
call fcn.00451909
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
mov dword [esp + 0x910], 0xffffffff
call fcn.00410330
mov al, 1
mov ecx, dword [esp + 0x908]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8f0]
xor ecx, esp
call fcn.0045b0da
add esp, 0x900
ret
lea eax, [esp + 0x5c]
jmp 0x435baf