Function at 0x4f4f34
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x61d8f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
mov ebx, dword [esp + 0x268]
push ebp
push esi
mov esi, ecx
push edi
push ebx
lea ecx, [esi + 0x204]
call fcn.005f4bc2
mov ecx, dword [0x6e7b6c]
mov dword [esp + 0x18], eax
mov edi, 1
mov dword [esp + 0x10], ecx
xor ebp, ebp
dec eax
cmp eax, 0xf
mov dword [esp + 0x26c], ebp
ja case.0x4f4f6a.9
jmp dword [eax*4 + 0x4f545c]
mov ebx, dword [esp + 0x278]
mov ecx, dword [esi + 0x98]
push 1
push ebx
call fcn.004161c0
test eax, eax
jne 0x4f503f
mov eax, dword [0x6ec738]
cmp eax, ebp
jne 0x4f4f9c
mov eax, 0x6ec73c
push 0x6be3b0
push eax
lea edx, [esp + 0x64]
push 0x6bd544
push edx
call fcn.005df06c
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x4f501e
mov ecx, dword [0x6e7b6c]
mov dword [esp + 0x14], ecx
mov edx, dword [0x6ece88]
push 1
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x278], 1
call fcn.005f368b
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0x30
push 0x6bc018
push ecx
mov ecx, esi
call fcn.005f88b4
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 0
call fcn.005fa859
mov dword [esp + 0x26c], edi
jmp 0x4f5435
mov edx, dword [0x6ed808]
push 0x40
push 0x6bc018
push edx
mov ecx, esi
call fcn.005f88b4
mov dword [esp + 0x26c], edi
jmp 0x4f5435
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edx, dword [ecx + 0x28]
cmp edx, ebp
jle 0x4f5074
mov edi, dword [ecx + 0x24]
mov ecx, edi
mov ebp, dword [ecx]
cmp dword [ebp + 8], 1
je 0x4f506e
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f5053
mov ecx, dword [esi + 0x98]
jmp 0x4f5425
mov eax, dword [edi + eax*4]
mov dword [eax + 0xc], ebx
mov ecx, dword [esi + 0x98]
jmp 0x4f5425
push 0x6beb04
lea ecx, [esp + 0x14]
call fcn.005fa9e2
jmp case.0x4f4f6a.9
push 0x6beafc
lea ecx, [esp + 0x14]
call fcn.005fa9e2
jmp case.0x4f4f6a.9
push 0x6beaf4
lea ecx, [esp + 0x14]
call fcn.005fa9e2
jmp case.0x4f4f6a.9
push 0x6beae4
lea ecx, [esp + 0x14]
call fcn.005fa9e2
jmp case.0x4f4f6a.9
push 0x6beacc
lea ecx, [esp + 0x14]
call fcn.005fa9e2
jmp case.0x4f4f6a.9
push 0x6beac0
lea ecx, [esp + 0x14]
call fcn.005fa9e2
jmp case.0x4f4f6a.9
push 0x6d5d4c
lea ecx, [esp + 0x14]
call fcn.005fa9e2
jmp case.0x4f4f6a.9
cmp dword [esp + 0x278], ebp
je case.0x4f4f6a.9
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0040ead0
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, ebp
je case.0x4f4f6a.9
cmp dword [esp + 0x20], ebp
jne 0x4f5147
cmp dword [esp + 0x1c], ebp
jne 0x4f5147
cmp dword [esp + 0x24], ebp
je case.0x4f4f6a.3
xor edi, edi
cmp dword [esp + 0x278], ebp
je 0x4f5197
cmp edi, ebp
push ebp
je 0x4f5201
mov edx, dword [0x6ed13c]
mov eax, dword [0x6ecf90]
push edx
push eax
mov ecx, esi
call fcn.005f88b4
mov edx, dword [esi + 0x220]
lea ecx, [esp + 0x34]
push ecx
push ebx
push 0x102b
push edx
mov dword [esp + 0x54], 0xf000
mov dword [esp + 0x50], 0x1000
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, ebp
jne 0x4f542a
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x98]
push edx
add ecx, 4
call fcn.0040cca0
cmp eax, ebp
jne 0x4f53cf
cmp dword [esp + 0x278], ebp
je 0x4f542a
mov ecx, dword [esi + 0x98]
mov dword [esp + 0x14], ebp
call fcn.0041a9c0
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edi, dword [ecx + 0x28]
cmp edi, ebp
jle 0x4f5228
mov ebx, dword [ecx + 0x24]
mov edx, ebx
mov ecx, dword [edx]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ecx + 8]
je 0x4f5217
inc eax
add edx, 4
cmp eax, edi
jl 0x4f51ea
xor ebp, ebp
jmp 0x4f5228
mov eax, dword [0x6ed13c]
mov ecx, dword [0x6ecd2c]
push eax
push ecx
mov ecx, esi
call fcn.005f88b4
jmp case.0x4f4f6a.9
mov eax, dword [ebx + eax*4]
xor ebp, ebp
cmp dword [eax + 0x1c], ebp
jle 0x4f5228
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], ebp
jne 0x4f5350
mov eax, dword [0x6e7b6c]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x98]
push edx
mov byte [esp + 0x274], 2
call fcn.00419c50
test eax, eax
jne 0x4f526a
push 0x6be4e8
lea ecx, [esp + 0x20]
call fcn.005fa9e2
mov eax, dword [0x6e7b6c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x6ed140]
push ecx
lea eax, [esp + 0x24]
mov bl, 3
push edx
push eax
mov byte [esp + 0x278], bl
call fcn.005f368b
mov ecx, dword [0x6ed13c]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push ebp
push ecx
push edx
mov ecx, esi
call fcn.005f88b4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov word [esp + 0x2c], bp
mov edi, dword [esp + 0x18]
push ebp
lea eax, [esp + 0x2c]
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esi + 0x98]
push esi
mov byte [esp + 0x280], 4
call fcn.0041ea50
test eax, eax
jne 0x4f531e
push ebp
push edi
mov ecx, esi
call fcn.004f5590
lea ecx, [esp + 0x28]
mov byte [esp + 0x26c], bl
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x26c], 2
call fcn.005fa859
lea ecx, [esp + 0x1c]
mov byte [esp + 0x26c], 0
call fcn.005fa859
jmp 0x4f542a
lea ecx, [esp + 0x28]
mov byte [esp + 0x26c], bl
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x26c], 2
call fcn.005fa859
lea ecx, [esp + 0x1c]
mov byte [esp + 0x26c], 0
call fcn.005fa859
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x98]
push ebp
push 1
push edx
push eax
call fcn.004198f0
test eax, eax
jne 0x4f537e
mov ecx, dword [esp + 0x18]
push ebp
push ecx
mov ecx, esi
call fcn.004f5590
jmp 0x4f542a
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edx, dword [ecx + 0x28]
cmp edx, ebp
jle 0x4f53c7
mov edi, dword [ecx + 0x24]
mov ecx, edi
mov ebx, dword [ecx]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ebx + 8]
je 0x4f53ad
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f5392
mov ecx, dword [esi + 0x98]
jmp 0x4f5425
mov edx, dword [edi + eax*4]
mov ecx, 1
mov dword [edx + 0x10], ecx
mov edx, dword [esi + 0x98]
mov edx, dword [edx + 0x24]
mov eax, dword [edx + eax*4]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x98]
jmp 0x4f5425
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edi, dword [ecx + 0x28]
cmp edi, ebp
jle 0x4f5425
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x24], edx
mov ebx, dword [edx]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ebx + 8]
je 0x4f53fa
inc eax
add edx, 4
cmp eax, edi
jl 0x4f53e5
jmp 0x4f5425
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x278]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 0x98]
xor edx, edx
mov esi, dword [ecx + 0x24]
mov eax, dword [esi + eax*4]
mov eax, dword [eax + 0x1c]
test eax, eax
jle 0x4f5425
inc edx
cmp edx, eax
jl 0x4f5420
call fcn.0041e680
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.005fa859
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x260
ret 8