Function at 0x4f6c80
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x62f69d
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x288]
mov esi, ecx
push ebx
lea ecx, [esi + 0x98]
call fcn.005dbaf5
lea ecx, [esp + 0x14]
mov ebp, eax
mov edi, 1
call fcn.004024e0
mov dword [esp + 0x280], 0
lea eax, [ebp - 1]
cmp eax, 0xf
ja case.0x4f6cf7.9
jmp dword [eax*4 + 0x4f72d4]
mov ebp, dword [esp + 0x28c]
mov ecx, dword [esi + 0x94]
mov ebx, 1
push ebx
push ebp
call fcn.00418b40
test eax, eax
jne 0x4f6de6
mov eax, dword [0x70f66c]
test eax, eax
jne 0x4f6d2d
mov eax, 0x70f670
push str.IDMIECC.dll
push eax
lea eax, [esp + 0x74]
push 0x651f3c
push eax
call fcn.0040fac0
add esp, 0x10
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x4f6db8
lea ecx, [esp + 0x18]
call fcn.004024e0
mov byte [esp + 0x280], 1
mov edx, dword [0x710ec0]
push ebx
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x20]
push 0x30
push 0x64ed18
push ecx
push edx
call fcn.00469b60
add esp, 0x1c
mov byte [esp + 0x280], 0
lea ecx, [esp + 0x18]
call fcn.00402550
mov dword [esp + 0x280], edi
lea ecx, [esp + 0x14]
call fcn.00402550
jmp 0x4f723e
mov eax, dword [0x71053c]
mov ecx, dword [esi + 0x20]
push 0x40
push 0x64ed18
push eax
push ecx
call fcn.00469b60
add esp, 0x10
mov dword [esp + 0x280], edi
lea ecx, [esp + 0x14]
call fcn.00402550
jmp 0x4f723e
mov ecx, dword [esi + 0x94]
mov edi, dword [ecx + 0x28]
xor eax, eax
test edi, edi
jle 0x4f6e14
add ecx, 0x20
test eax, eax
jl 0x4f6e45
cmp eax, dword [ecx + 8]
jge 0x4f6e45
mov edx, dword [ecx + 4]
lea edx, [edx + eax*4]
mov edx, dword [edx]
cmp dword [edx + 8], ebx
je 0x4f6e38
add eax, ebx
cmp eax, edi
jl 0x4f6df8
mov ecx, dword [esi + 0x94]
call fcn.00417520
mov dword [esp + 0x280], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402550
jmp 0x4f723e
push eax
call fcn.00453680
mov eax, dword [eax]
mov dword [eax + 0xc], ebp
jmp 0x4f6e14
call fcn.005cfbb9
push str.Mozilla
lea ecx, [esp + 0x18]
call fcn.00402fc0
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x94]
push edx
add ecx, 4
call fcn.0040d850
test eax, eax
jne 0x4f71da
cmp dword [esp + 0x28c], eax
je 0x4f6e1f
mov ecx, dword [esi + 0x94]
mov dword [esp + 0x18], eax
call fcn.0041e510
mov ecx, dword [esi + 0x94]
mov edi, dword [ecx + 0x28]
xor eax, eax
test edi, edi
jle 0x4f7011
mov edi, edi
test eax, eax
jl 0x4f6e45
cmp eax, edi
jge 0x4f6e45
mov edx, dword [ecx + 0x24]
lea edx, [edx + eax*4]
mov edx, dword [edx]
cmp ebp, dword [edx + 8]
je 0x4f6fd0
inc eax
cmp eax, edi
jl 0x4f6ea0
jmp 0x4f7011
push str.NETSCP
jmp 0x4f6e4f
push str.Flock
jmp 0x4f6e4f
push str.MozillaFirebird
jmp 0x4f6e4f
push str.NETSCAPE
jmp 0x4f6e4f
push str.navigator
jmp 0x4f6e4f
push str.Orca
jmp 0x4f6e4f
cmp dword [esp + 0x28c], 0
je case.0x4f6cf7.9
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00417b80
add esp, 0x14
cmp dword [esp + 0x18], 0
jne 0x4f6f3d
cmp dword [esp + 0x20], 0
je case.0x4f6cf7.9
cmp dword [esp + 0x1c], 0
jne 0x4f6f52
cmp dword [esp + 0x24], 0
jne 0x4f6f52
cmp dword [esp + 0x28], 0
je case.0x4f6cf7.3
xor edi, edi
cmp dword [esp + 0x28c], 0
je 0x4f6fa5
push 0
test edi, edi
je 0x4f6fb2
mov eax, dword [0x710c08]
mov ecx, dword [0x710db8]
mov edx, dword [esi + 0x20]
push eax
push ecx
push edx
call fcn.00469b60
mov ecx, dword [esi + 0xb8]
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
push ebx
push 0x102b
push ecx
mov dword [esp + 0x4c], 0xf000
mov dword [esp + 0x48], 0x1000
call dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je case.0x4f6cf7.9
jmp 0x4f6e1f
mov edx, dword [0x710c08]
mov eax, dword [0x71101c]
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call fcn.00469b60
add esp, 0x10
jmp case.0x4f6cf7.9
cmp eax, edi
jge 0x4f6e45
mov edx, dword [ecx + 0x24]
lea edi, [eax*4]
add edx, edi
mov edx, dword [edx]
cmp dword [edx + 0x1c], 0
jle 0x4f7011
cmp eax, dword [ecx + 0x28]
jge 0x4f6e45
mov ecx, dword [ecx + 0x24]
mov eax, dword [ecx + edi]
add ecx, edi
add eax, 0x14
cmp dword [eax + 8], 0
jle 0x4f6e45
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
jne 0x4f7139
lea ecx, [esp + 0x1c]
call fcn.004024e0
mov byte [esp + 0x280], 2
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x94]
push ebp
call fcn.00417360
test eax, eax
jne 0x4f7052
push 4
push str.this
lea ecx, [esp + 0x24]
call fcn.00402940
lea ecx, [esp + 0x20]
call fcn.004024e0
mov bl, 3
mov byte [esp + 0x280], bl
mov edx, dword [esp + 0x1c]
mov eax, dword [0x710c04]
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00402f60
mov edx, dword [0x710c08]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x20]
xor edi, edi
push edi
push edx
push eax
push ecx
call fcn.00469b60
xor edx, edx
add esp, 0x1c
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], edi
mov word [esp + 0x64], dx
mov byte [esp + 0x280], 4
push edi
push ebp
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x94]
push esi
call fcn.0041d840
test eax, eax
jne 0x4f7107
push edi
push ebp
mov ecx, esi
call fcn.004f6120
mov byte [esp + 0x280], bl
lea ecx, [esp + 0x60]
call fcn.004011f0
mov byte [esp + 0x280], 2
lea ecx, [esp + 0x20]
call fcn.00402550
mov byte [esp + 0x280], 0
lea ecx, [esp + 0x1c]
call fcn.00402550
jmp 0x4f6e1f
mov byte [esp + 0x280], bl
lea ecx, [esp + 0x60]
call fcn.004011f0
mov byte [esp + 0x280], 2
lea ecx, [esp + 0x20]
call fcn.00402550
mov byte [esp + 0x280], 0
lea ecx, [esp + 0x1c]
call fcn.00402550
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x94]
push 0
mov ebx, 1
push ebx
push ebp
push edx
call fcn.0041adb0
test eax, eax
jne 0x4f7164
push eax
push ebp
mov ecx, esi
call fcn.004f6120
jmp 0x4f6e1f
mov ecx, dword [esi + 0x94]
mov edi, dword [ecx + 0x28]
xor eax, eax
test edi, edi
jle 0x4f71cd
test eax, eax
jl 0x4f6e45
cmp eax, edi
jge 0x4f6e45
mov edx, dword [ecx + 0x24]
lea edx, [edx + eax*4]
mov edx, dword [edx]
cmp ebp, dword [edx + 8]
je 0x4f7198
add eax, ebx
cmp eax, edi
jl 0x4f7173
jmp 0x4f71cd
cmp eax, edi
jge 0x4f6e45
mov ecx, dword [ecx + 0x24]
lea edx, [eax*4]
add ecx, edx
mov ecx, dword [ecx]
mov dword [ecx + 0x10], ebx
mov ecx, dword [esi + 0x94]
add ecx, 0x20
cmp eax, dword [ecx + 8]
jge 0x4f6e45
mov ecx, dword [ecx + 4]
add ecx, edx
mov edx, dword [ecx]
mov dword [edx + 0xc], ebx
mov ecx, dword [esi + 0x94]
call fcn.00417520
jmp 0x4f7217
mov ecx, dword [esi + 0x94]
mov edi, dword [ecx + 0x28]
xor edx, edx
test edi, edi
jle 0x4f7212
lea esp, [esp]
test edx, edx
jl 0x4f6e45
cmp edx, edi
jge 0x4f6e45
mov eax, dword [ecx + 0x24]
lea eax, [eax + edx*4]
mov eax, dword [eax]
cmp ebp, dword [eax + 8]
je 0x4f7268
inc edx
cmp edx, edi
jl 0x4f71f0
call fcn.00417520
or edi, 0xffffffff
mov dword [esp + 0x280], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4f723e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.005f85e7
add esp, 0x270
ret 8
cmp edx, edi
jge 0x4f6e45
mov eax, dword [ecx + 0x24]
lea ebp, [edx*4]
mov ecx, dword [eax + ebp]
add eax, ebp
mov eax, dword [esp + 0x28c]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x94]
xor edi, edi
lea esi, [ecx + 0x20]
mov eax, esi
cmp edx, dword [eax + 8]
jge 0x4f6e45
mov eax, dword [eax + 4]
add eax, ebp
mov eax, dword [eax]
cmp edi, dword [eax + 0x1c]
jge 0x4f7212
cmp edx, dword [esi + 8]
jge 0x4f6e45
test edi, edi
jl 0x4f6e45
mov eax, dword [esi + 4]
mov eax, dword [eax + ebp]
cmp edi, dword [eax + 0x1c]
jge 0x4f6e45
inc edi
jmp 0x4f7294