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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474725
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x491130]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 3
xorps xmm0, xmm0
mov esi, dword [ebp + 0x10]
movlpd qword [ebp - 0x14], xmm0
jne 0x434ddd
mov dword [ebp - 0x18], 0
push esi
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
call fcn.00438120
add esp, 0x10
test esi, esi
je 0x434bad
cmp byte [esi + 4], 0
je 0x434bad
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
jmp 0x434cad
mov dword [ebp - 0x20], 0
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x434d35
cmp dword [edi + 0x2c], 0
je 0x434d35
add edi, 4
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x434be6
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x434c06
push esi
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.004348c0
add esp, 0xc
mov ebx, dword [eax]
jmp 0x434c52
test esi, esi
je 0x434c1b
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [esi + 8], 0x486420
test ebx, 0x400
je 0x434c49
push edi
call fcn.004346a0
add esp, 4
test al, al
je 0x434c42
test bl, 0x10
mov eax, 0xb
mov ebx, 4
cmovne ebx, eax
jmp 0x434c52
mov ebx, 9
jmp 0x434c52
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
test esi, esi
je 0x434c60
cmp byte [esi + 4], 0
jne 0x434d2d
mov eax, dword [ebp - 0x18]
push esi
add eax, 4
push ebx
push eax
call fcn.00434b30
mov edi, dword [ebp - 0x10]
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
add edi, eax
mov dword [ebp - 0x10], edi
adc ebx, edx
mov dword [ebp - 0x1c], ebx
test esi, esi
je 0x434c8b
cmp byte [esi + 4], 0
jne 0x434cad
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00438770
add esp, 8
test esi, esi
je 0x434bc4
cmp byte [esi + 4], 0
je 0x434bc4
mov dword [ebp - 0x10], edi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x434d16
or eax, 0xffffffff
lock xadd dword [esi], eax
add eax, 0xffffffff
jne 0x434d16
test esi, esi
je 0x434d16
lea eax, [esi + 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00437c20
add esp, 8
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], 8
cmp eax, 8
jb 0x434cf7
inc eax
lea ecx, [esi + 4]
push eax
push dword [esi + 4]
call fcn.004012b0
xor eax, eax
mov dword [esi + 0x14], 0
push 0x30
push esi
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
call fcn.0044b9a2
add esp, 8
mov eax, dword [ebp - 0x10]
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x1c]
jmp 0x434cad
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x434da5
or eax, 0xffffffff
lock xadd dword [edi], eax
add eax, 0xffffffff
jne 0x434da5
test edi, edi
je 0x434da5
lea eax, [edi + 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00437c20
add esp, 8
mov eax, dword [edi + 0x18]
mov dword [ebp - 4], 0xa
cmp eax, 8
jb 0x434d7c
inc eax
lea ecx, [edi + 4]
push eax
push dword [edi + 4]
call fcn.004012b0
xor eax, eax
mov dword [edi + 0x14], 0
push 0x30
push edi
mov dword [edi + 0x18], 7
mov word [edi + 4], ax
mov dword [ebp - 4], 0xffffffff
call fcn.0044b9a2
mov ebx, dword [ebp - 0x1c]
add esp, 8
mov edi, dword [ebp - 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00434df0
add esp, 0xc
test esi, esi
je 0x434dc1
cmp byte [esi + 4], 0
jne 0x434dc7
add edi, 1
adc ebx, 0
mov eax, edi
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
jmp 0x434da8