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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov eax, dword [edi + 0x74]
mov dword [ebp - 0x14], ecx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x49379e
mov eax, dword [edi + 0x74]
push ebx
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x34], bx
call fcn.00402610
mov eax, dword [edi + 0x5c]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x493534
lea eax, [edi + 0x60]
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
jne 0x49353e
lea ecx, [ebp - 0x34]
push eax
push ecx
call fcn.0056cfcc
add esp, 8
test eax, eax
je 0x4936f6
mov eax, dword [edi + 0x5c]
cmp eax, ebx
jne 0x49355a
lea eax, [edi + 0x60]
push 1
push eax
call fcn.00464e30
mov eax, dword [edi + 0x5c]
add esp, 8
cmp eax, ebx
jne 0x49356f
lea eax, [edi + 0x60]
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
jne 0x493579
lea ecx, [ebp - 0x34]
push 1
push eax
push ecx
call fcn.00464c10
add esp, 0xc
cmp eax, ebx
jne 0x4936f6
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x1c], bx
mov eax, dword [edi + 0x5c]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x4935a5
lea eax, [edi + 0x60]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402e20
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4935b8
lea eax, [ebp - 0x1c]
push 0x5c
push eax
call fcn.0056b10e
add esp, 8
cmp eax, ebx
je 0x4936ad
add eax, 2
mov word [eax], bx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4935db
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00464fc0
add esp, 8
cmp eax, ebx
jne 0x4936ad
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4935f8
lea eax, [ebp - 0x1c]
add eax, 6
push 0x5c
push eax
call fcn.0056aecb
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x493689
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x493616
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x28], bx
call fcn.00402e20
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp ecx, ebx
jne 0x493637
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x493641
lea eax, [ebp - 0x1c]
mov edx, esi
sub edx, eax
sar edx, 1
mov word [ecx + edx*2], bx
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x493655
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.00464fc0
add esp, 8
cmp eax, ebx
jne 0x4936c9
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x49366e
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.004651a0
add esp, 8
cmp eax, ebx
jne 0x4936c9
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [edi + 0x5c]
cmp eax, ebx
jne 0x493693
lea eax, [edi + 0x60]
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
jne 0x49369d
lea ecx, [ebp - 0x34]
push 1
push eax
push ecx
call fcn.00464c10
add esp, 0xc
cmp eax, ebx
jne 0x4936ea
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.00401070
jmp 0x49379e
add esi, 2
push 0x5c
push esi
call fcn.0056aecb
add esp, 8
lea ecx, [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 2
call fcn.00401070
jmp 0x493608
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00401070
mov esi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov edx, dword [ebp - 0x14]
cmp eax, dword [edx + 0x514]
jge 0x493719
mov edx, dword [edx + 0x510]
cmp dword [edx + eax*8], esi
lea edx, [edx + eax*8]
jne 0x49377c
mov ecx, dword [edx + 4]
cmp ecx, ebx
jne 0x493733
mov eax, dword [edi + 0x18]
cmp eax, ebx
je 0x493744
mov ecx, dword [ebp - 0x14]
push eax
call fcn.00493810
mov ecx, eax
cmp ecx, ebx
je 0x493744
push 3
mov dword [ecx + 0xcc], 1
call fcn.0053ccf0
mov eax, dword [edi + 0x5c]
cmp eax, ebx
jne 0x49374e
lea eax, [edi + 0x60]
push ebx
push ebx
push eax
call fcn.0053fb70
add esp, 0xc
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.00401070
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
inc eax
jmp 0x4936fd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8