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

Disassembly:
push 0xffffffffffffffff
push 0x47c703
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x4bc364]
push ebx
push ebp
push esi
mov dword [esp + 0xa0], eax
push edi
mov esi, ecx
push str.config.ini
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0xbc], 2
call fcn.004022e0
add esp, 0xc
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea edx, [esp + 0x90]
push edx
lea ecx, [esi + 4]
mov byte [esp + 0xbc], 3
call fcn.00401500
push ebx
mov edi, 0xf
push 0x497880
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.004015f0
push 7
push str.WireDir
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004015f0
push 0xa
push str.WireUpdate
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8], 5
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.004015f0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov byte [esp + 0xc0], 6
call fcn.004116e0
push 0xffffffffffffffff
push ebx
lea ebp, [esi + 0x40]
push eax
mov ecx, ebp
mov byte [esp + 0xbc], 7
call fcn.00401500
mov eax, dword [esp + 0x4c]
mov edi, 0x10
cmp eax, edi
jb 0x435d93
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00469348
add esp, 4
cmp dword [esp + 0x68], edi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x435db6
mov edx, dword [esp + 0x54]
push edx
call fcn.00469348
add esp, 4
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x435dd9
mov eax, dword [esp + 0x18]
push eax
call fcn.00469348
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0xb0], 3
jb 0x435e07
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00469348
add esp, 4
cmp dword [esi + 0x54], ebx
je 0x435f0e
push 0x497b3c
lea edx, [esp + 0x38]
push ebp
push edx
call fcn.004022e0
push str.start.html
push eax
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xc8], 8
call fcn.004022e0
add esp, 0x18
cmp dword [esp + 0x4c], edi
mov byte [esp + 0xb0], 0xa
jb 0x435e59
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00469348
add esp, 4
cmp dword [esp + 0x84], edi
mov edx, dword [esp + 0x70]
mov eax, 0xf
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jae 0x435e7b
lea edx, [esp + 0x70]
mov dword [esp + 0x2c], eax
mov eax, edx
lea ecx, [eax + 1]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x30], ecx
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x435e90
sub eax, dword [esp + 0x30]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004015f0
cmp dword [esp + 0x2c], edi
mov eax, dword [esp + 0x18]
jae 0x435eb4
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov eax, dword [esp + 0x2c]
sete byte [esp + 0x13]
cmp eax, edi
jb 0x435ed8
mov edx, dword [esp + 0x18]
push edx
call fcn.00469348
add esp, 4
cmp byte [esp + 0x13], bl
je 0x435eeb
push ebx
push 0x497880
mov ecx, ebp
call fcn.004015f0
cmp dword [esp + 0x84], edi
mov byte [esp + 0xb0], 3
jb 0x435f09
mov eax, dword [esp + 0x70]
push eax
call fcn.00469348
add esp, 4
cmp dword [esi + 0x54], ebx
jne 0x435f20
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xf8]
push ecx
mov ecx, ebp
call fcn.00401500
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xdc]
push edx
lea ecx, [esi + 0x20]
call fcn.00401500
cmp dword [esp + 0xa0], edi
mov byte [esi + 0x3c], bl
jb 0x435f4f
mov eax, dword [esp + 0x8c]
push eax
call fcn.00469348
add esp, 4
cmp dword [esp + 0xd0], edi
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
jb 0x435f81
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.00469348
add esp, 4
cmp dword [esp + 0xec], edi
jb 0x435f9a
mov edx, dword [esp + 0xd8]
push edx
call fcn.00469348
add esp, 4
cmp dword [esp + 0x108], edi
pop edi
pop esi
pop ebp
pop ebx
jb 0x435fb7
mov eax, dword [esp + 0xe4]
push eax
call fcn.00469348
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x94]
call fcn.0044e944
add esp, 0xa4
ret 0x54