Function at 0x50cb50
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x649d47
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 + 0x9c]
call fcn.00620a31
mov ecx, dword [0x6f7b78]
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.0x50cbaa.9
jmp dword [eax*4 + 0x50d0ac]
mov ebx, dword [esp + 0x278]
mov ecx, dword [esi + 0x98]
push 1
push ebx
call fcn.00419150
test eax, eax
jne 0x50cc85
mov eax, dword [0x6fca20]
cmp eax, ebp
jne 0x50cbdc
mov eax, 0x6fca24
push str.IDMIECC.dll
push eax
lea edx, [esp + 0x64]
push 0x6ca5f0
push edx
call fcn.0060aac7
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x50cc60
mov ecx, dword [0x6f7b78]
mov dword [esp + 0x14], ecx
mov edx, dword [0x6fd37c]
push 1
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x278], 1
call fcn.0061fae1
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x1c]
push 0x30
push 0x6c9094
push ecx
push edx
call fcn.00457010
add esp, 0x1c
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 0
call fcn.00622d8a
mov dword [esp + 0x26c], edi
jmp 0x50d088
mov eax, dword [0x6fdcfc]
mov ecx, dword [esi + 0x1c]
push 0x40
push 0x6c9094
push eax
push ecx
call fcn.00457010
add esp, 0x10
mov dword [esp + 0x26c], edi
jmp 0x50d088
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edx, dword [ecx + 0x28]
cmp edx, ebp
jle 0x50ccba
mov edi, dword [ecx + 0x24]
mov ecx, edi
mov ebp, dword [ecx]
cmp dword [ebp + 8], 1
je 0x50ccb4
inc eax
add ecx, 4
cmp eax, edx
jl 0x50cc99
mov ecx, dword [esi + 0x98]
jmp 0x50d078
mov edx, dword [edi + eax*4]
mov dword [edx + 0xc], ebx
mov ecx, dword [esi + 0x98]
jmp 0x50d078
push str.Mozilla
lea ecx, [esp + 0x14]
call fcn.00622f13
jmp case.0x50cbaa.9
push str.NETSCP
lea ecx, [esp + 0x14]
call fcn.00622f13
jmp case.0x50cbaa.9
push str.Flock
lea ecx, [esp + 0x14]
call fcn.00622f13
jmp case.0x50cbaa.9
push str.MozillaFirebird
lea ecx, [esp + 0x14]
call fcn.00622f13
jmp case.0x50cbaa.9
push str.NETSCAPE
lea ecx, [esp + 0x14]
call fcn.00622f13
jmp case.0x50cbaa.9
push str.navigator
lea ecx, [esp + 0x14]
call fcn.00622f13
jmp case.0x50cbaa.9
push str.Orca
lea ecx, [esp + 0x14]
call fcn.00622f13
jmp case.0x50cbaa.9
cmp dword [esp + 0x278], ebp
je case.0x50cbaa.9
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004101e0
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, ebp
je case.0x50cbaa.9
cmp dword [esp + 0x20], ebp
jne 0x50cd8d
cmp dword [esp + 0x1c], ebp
jne 0x50cd8d
cmp dword [esp + 0x24], ebp
je case.0x50cbaa.3
xor edi, edi
cmp dword [esp + 0x278], ebp
je 0x50cde3
cmp edi, ebp
push ebp
je 0x50ce4d
mov ecx, dword [0x6fd630]
mov edx, dword [0x6fd484]
mov eax, dword [esi + 0x1c]
push ecx
push edx
push eax
call fcn.00457010
mov edx, dword [esi + 0xb8]
add esp, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], 0xf000
push ecx
push ebx
push 0x102b
push edx
mov dword [esp + 0x50], 0x1000
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, ebp
jne 0x50d07d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x98]
push eax
add ecx, 4
call fcn.0040e2e0
cmp eax, ebp
jne 0x50d022
cmp dword [esp + 0x278], ebp
je 0x50d07d
mov ecx, dword [esi + 0x98]
mov dword [esp + 0x14], ebp
call fcn.0041de80
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edi, dword [ecx + 0x28]
cmp edi, ebp
jle 0x50ce79
mov ebx, dword [ecx + 0x24]
mov edx, ebx
mov ecx, dword [edx]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ecx + 8]
je 0x50ce68
inc eax
add edx, 4
cmp eax, edi
jl 0x50ce36
xor ebp, ebp
jmp 0x50ce79
mov eax, dword [0x6fd630]
mov ecx, dword [0x6fd220]
mov edx, dword [esi + 0x1c]
push eax
push ecx
push edx
call fcn.00457010
add esp, 0x10
jmp case.0x50cbaa.9
mov eax, dword [ebx + eax*4]
xor ebp, ebp
cmp dword [eax + 0x1c], ebp
jle 0x50ce79
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], ebp
jne 0x50cfa3
mov eax, dword [0x6f7b78]
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.0041d070
test eax, eax
jne 0x50cebb
push str.this
lea ecx, [esp + 0x20]
call fcn.00622f13
mov eax, dword [0x6f7b78]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x6fd634]
push ecx
lea eax, [esp + 0x24]
mov bl, 3
push edx
push eax
mov byte [esp + 0x278], bl
call fcn.0061fae1
mov ecx, dword [0x6fd630]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x1c]
push ebp
push ecx
push edx
push eax
call fcn.00457010
add esp, 0x1c
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov word [esp + 0x2c], bp
mov edi, dword [esp + 0x18]
push ebp
lea ecx, [esp + 0x2c]
push edi
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x98]
push edx
push esi
mov byte [esp + 0x280], 4
call fcn.00421830
test eax, eax
jne 0x50cf71
push ebp
push edi
mov ecx, esi
call fcn.0050d1e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x26c], bl
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x26c], 2
call fcn.00622d8a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x26c], 0
call fcn.00622d8a
jmp 0x50d07d
lea ecx, [esp + 0x28]
mov byte [esp + 0x26c], bl
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x26c], 2
call fcn.00622d8a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x26c], 0
call fcn.00622d8a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebp
push 1
push eax
push ecx
mov ecx, dword [esi + 0x98]
call fcn.0041cd10
test eax, eax
jne 0x50cfd1
mov edx, dword [esp + 0x18]
push ebp
push edx
mov ecx, esi
call fcn.0050d1e0
jmp 0x50d07d
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edx, dword [ecx + 0x28]
cmp edx, ebp
jle 0x50d01a
mov edi, dword [ecx + 0x24]
mov ecx, edi
mov ebx, dword [ecx]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ebx + 8]
je 0x50d000
inc eax
add ecx, 4
cmp eax, edx
jl 0x50cfe5
mov ecx, dword [esi + 0x98]
jmp 0x50d078
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 0x50d078
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edi, dword [ecx + 0x28]
cmp edi, ebp
jle 0x50d078
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 0x50d04d
inc eax
add edx, 4
cmp eax, edi
jl 0x50d038
jmp 0x50d078
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 0x50d078
inc edx
cmp edx, eax
jl 0x50d073
call fcn.00421460
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00622d8a
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x260
ret 8