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

Disassembly:
push 0xffffffffffffffff
push 0x460628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x1d8], 1
call fcn.0040e700
mov edx, dword [esp + 0x1e0]
lea eax, [esp + 0xc0]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x1fc], 2
call fcn.00405950
mov ecx, esi
call fcn.0042e3a0
xor ebx, ebx
cmp eax, ebx
jne 0x430cbb
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1d8], 1
call fcn.0040e790
mov eax, dword [esp + 0x1fc]
mov esi, 0x10
cmp eax, esi
jb 0x430c7f
mov eax, dword [esp + 0x1e8]
push eax
call fcn.0044b92d
add esp, 4
cmp dword [esp + 0x218], esi
mov dword [esp + 0x1fc], 0xf
mov dword [esp + 0x1f8], ebx
mov byte [esp + 0x1e8], bl
jb 0x430cb1
mov ecx, dword [esp + 0x204]
push ecx
call fcn.0044b92d
add esp, 4
mov eax, 1
jmp 0x4310ad
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x208]
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004022a0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x240]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x21c], 3
mov byte [ecx + 4], bl
call fcn.004022a0
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov byte [esp + 0x214], 2
call fcn.0042bb10
mov edx, dword [esp + 0x28]
push 1
push 0x464f38
push edx
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e8], 4
call fcn.00401450
test eax, eax
jne 0x430dd5
mov eax, dword [esp + 0x2c]
mov esi, 0x10
cmp eax, esi
jb 0x430d60
mov eax, dword [esp + 0x18]
push eax
call fcn.0044b92d
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0x1d8], 1
call fcn.0040e790
cmp dword [esp + 0x1fc], esi
jb 0x430d99
mov ecx, dword [esp + 0x1e8]
push ecx
call fcn.0044b92d
add esp, 4
cmp dword [esp + 0x218], esi
mov dword [esp + 0x1fc], ebp
mov dword [esp + 0x1f8], ebx
mov byte [esp + 0x1e8], bl
jb 0x430e7d
mov edx, dword [esp + 0x204]
push edx
call fcn.0044b92d
add esp, 4
mov eax, 2
jmp 0x4310ad
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c], 0x2f
call fcn.0040b0b0
mov edi, eax
cmp edi, 0xffffffff
je 0x430dfc
cmp edi, 0xffffffff
jne 0x430e87
mov eax, dword [esp + 0x2c]
mov esi, 0x10
cmp eax, esi
jb 0x430e16
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044b92d
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0x1d8], 1
call fcn.0040e790
cmp dword [esp + 0x1fc], esi
jb 0x430e4f
mov edx, dword [esp + 0x1e8]
push edx
call fcn.0044b92d
add esp, 4
cmp dword [esp + 0x218], esi
mov dword [esp + 0x1fc], ebp
mov dword [esp + 0x1f8], ebx
mov byte [esp + 0x1e8], bl
jb 0x430e7d
mov eax, dword [esp + 0x204]
push eax
call fcn.0044b92d
add esp, 4
mov eax, 2
jmp 0x4310ad
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x228]
call fcn.004026b0
lea edx, [edi + 1]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405900
push eax
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x1dc], 5
call fcn.004026b0
cmp dword [esp + 0x50], 0x10
mov byte [esp + 0x1d8], 4
jb 0x430edb
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0044b92d
add esp, 4
cmp edi, ebx
je 0x430f13
push edi
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405870
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1dc], 6
call fcn.004026b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1d8], 4
call fcn.00401fd0
jmp 0x430f25
lea eax, [esp + 0x14]
push 0x464f38
push eax
call fcn.00405580
add esp, 8
lea ecx, [esp + 0x54]
call fcn.004031a0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0xc8]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x44]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x20c], 7
mov byte [ecx + 4], bl
call fcn.004022a0
mov ecx, esi
call fcn.0042c870
mov edi, eax
cmp edi, ebx
jne 0x43106d
cmp dword [esp + 0x7c], ebx
mov al, byte [esp + 0x21c]
jne 0x430f8e
test al, 1
je 0x430f8e
mov edi, 1
cmp dword [esp + 0x84], ebx
jne 0x430f9e
test al, 4
je 0x430f9e
or edi, 1
cmp dword [esp + 0x80], ebx
jne 0x430fae
test al, 0x1a
je 0x430fae
or edi, 1
push 0x46239c
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.0040bf60
lea edx, [esp + 0x1f0]
push edx
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x1f0], 8
call fcn.004154a0
add esp, 0x18
mov esi, dword [esp + 0x220]
push eax
mov ecx, esi
mov byte [esp + 0x1dc], 9
call fcn.004026b0
lea ecx, [esp + 0x38]
call fcn.00401fd0
lea ecx, [esp + 0xa4]
call fcn.00401fd0
cmp dword [esi + 0x18], 0x10
jb 0x43101a
mov esi, dword [esi + 4]
jmp 0x43101d
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x431038
test byte [esp + 0x21c], 0x1a
jne 0x43106d
or edi, 2
jmp 0x43106d
test al, 0x10
je 0x43103f
or edi, 0x14
cmp dword [esp + 0x88], ebx
mov al, byte [esp + 0x21c]
jne 0x431056
test al, 8
je 0x431056
or edi, 1
cmp dword [esp + 0x84], ebx
jne 0x431066
test al, 2
je 0x431066
or edi, 1
test al, 0x10
je 0x43106d
or edi, 0x10
lea ecx, [esp + 0x54]
call fcn.00403200
lea ecx, [esp + 0x14]
call fcn.00401fd0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1d8], 1
call fcn.0040e790
lea ecx, [esp + 0x1e4]
call fcn.00401fd0
lea ecx, [esp + 0x200]
call fcn.00401fd0
mov eax, edi
mov ecx, dword [esp + 0x1d0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1cc
ret 0x48